diff options
author | nathansmith <nathansmith@posteo.com> | 2025-05-22 12:11:10 -0600 |
---|---|---|
committer | nathansmith <nathansmith@posteo.com> | 2025-05-22 12:11:10 -0600 |
commit | d194694f31002068868a378d121ed0e2db01c378 (patch) | |
tree | 295a67261fef4ebd02e29c36dd3e255492cffdfa /testTheThing/xhtml/distro-guides | |
parent | 8176a8aac5d490562200eca0adb6efe5cc95e61a (diff) |
Messy folder
Diffstat (limited to 'testTheThing/xhtml/distro-guides')
-rw-r--r-- | testTheThing/xhtml/distro-guides/arch.xhtml | 160 | ||||
-rw-r--r-- | testTheThing/xhtml/distro-guides/fedora.xhtml | 156 | ||||
-rw-r--r-- | testTheThing/xhtml/distro-guides/images/back.png | bin | 0 -> 752 bytes | |||
-rw-r--r-- | testTheThing/xhtml/distro-guides/xfce.xhtml | 109 |
4 files changed, 425 insertions, 0 deletions
diff --git a/testTheThing/xhtml/distro-guides/arch.xhtml b/testTheThing/xhtml/distro-guides/arch.xhtml new file mode 100644 index 0000000..7a84ab1 --- /dev/null +++ b/testTheThing/xhtml/distro-guides/arch.xhtml @@ -0,0 +1,160 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<title>‎</title> +<meta name="generator" content="Org Mode" /> +</head> +<body bgcolor="#dcd1ba"> +<center> +<table border="1" width="65%" bgcolor="#bebebe" id="content" class="content"><tr><td> +<div id="table-of-contents" role="doc-toc"> +<h2>Table of Contents</h2> +<div id="text-table-of-contents" role="doc-toc"> +<ul> +<li><a href="#arch-linux">1. Arch linux</a> +<ul> +<li><a href="#installing">1.1. Installing arch</a></li> +<li><a href="#post">1.2. After installing</a></li> +<li><a href="#nvidia">1.3. Nvidia drivers</a></li> +<li><a href="#tricks">1.4. Tricks</a></li> +</ul> +</li> +</ul> +</div> +</div> +<p> +<a href="../index.html">[[../images/back<sub>home.png</sub></a>]]<br /> +<a href="../linux_room.html#distro_guides">[[file:images/back.png</a>]] +</p> +<div id="outline-container-arch-linux" class="outline-2"> +<h2 id="arch-linux"><span class="section-number-2">1.</span> Arch linux</h2> +<div class="outline-text-2" id="text-arch-linux"> +<p> +Arch is just a better distro, but using arch doesnt instantly make you a +better linux user. Saying "I am a arch user btw" is still fun and annoys +people so I keep saying it reguardless.<br /> +<br /> +<b>Warning: This is a ever changing page due to the fact I havent been +daily driving arch for long as of writing this and is uncompletish.</b> +</p> + +<ul class="org-ul"> +<li><a href="#installing">Installing arch</a></li> +<li><a href="#post">After installing</a></li> +<li><a href="#nvidia">Nvidia drivers</a></li> +<li><a href="#tricks">Tricks</a></li> +</ul> +</div> +<div id="outline-container-installing" class="outline-3"> +<h3 id="installing"><span class="section-number-3">1.1.</span> Installing arch</h3> +<div class="outline-text-3" id="text-installing"> +<p> +A lot of arch users will get pissed as fuck at me but <b>its ok to use +arch install</b>. I personally prefer manually installing arch and wouldnt +want to do it any other way so I dont use it, btw (:<br /> +<br /> +The <a href="https://wiki.archlinux.org/title/Installation_guide">offical arch +installation guide</a> and other resources on the arch wiki is a great way +to install arch though I also like to use +<a href="https://www.youtube.com/watch?v=PQgyW10xD8s">distro tubes arch +installation guide</a> alongside the resources. Some arch users may be +pissed I dare tell people to go watch a youtube video. I am sure most +arch installation guides on youtube suck but DT's video is killer. Plus +its not a replacement for the wiki, its just to help follow it a bit +easier and act as a good jumping off point.<br /> +<br /> +Some things I gotta add is for me DT's video I linked doesnt work 100 +percent. When setting up grub it cant find the efi directory. You gotta +use a switch to show that command that fails the efi directory. I forgor +the switch and I am too lazy to look it up but you can find it if the +<code>--help</code> flag. Also to dual boot with nasty nasty MS Windows(R) you +gotta install ntfs-3g for it to be able to read MS Windows(R) ntfs(R) +Microsoft(R) partitions. You also gotta set +<code>GRUB_DISABLE_OS_PROBER=false</code> in <code>/etc/default/grub</code> and mount the MS +Windows(R) directory in the efi directory for OS proper to work +sometimes. +</p> +</div> +</div> +<div id="outline-container-post" class="outline-3"> +<h3 id="post"><span class="section-number-3">1.2.</span> After installing</h3> +<div class="outline-text-3" id="text-post"> +<ul class="org-ul"> +<li>Make sure you install a good ass DE or WM. No better DE than good old +trusty xfce. Your also going to want lightdm with that. Thunar is a +quite useable file manager though you can betterize it with gvfs or +another opinional packages for cool fancy shit. Or for even more cool +fancy things get something like +<a href="../linux_room.html#spacefm">spaceFM</a>. Just fuck around tbh.</li> +<li>If your sound fucking aint working right install sof-firmware.</li> +<li>I use <a href="https://github.com/Jguer/yay">yay</a> because it makes life in +arch easier even though its stupid ass bloat.</li> +</ul> +</div> +</div> +<div id="outline-container-nvidia" class="outline-3"> +<h3 id="nvidia"><span class="section-number-3">1.3.</span> Nvidia drivers</h3> +<div class="outline-text-3" id="text-nvidia"> +<p> +A lot can change depending on many things and everything I say has only +been tested on my machine so read some fucking resources here: +</p> + +<ul class="org-ul"> +<li><a href="https://wiki.archlinux.org/title/NVIDIA">Offical nvidia arch wiki</a></li> +<li><a href="https://github.com/korvahannu/arch-nvidia-drivers-installation-guide">Some +strangely helpful github guide</a></li> +<li><a href="https://medium.com/@sakalakis/how-to-easily-install-the-nvidia-drivers-in-arch-linux-5f1b3f1a5f66">Ewwwww, +medium site (it strangely works without javascript)</a></li> +</ul> + +<p> +Guide for my system mostly and maybe yours: +</p> + +<ul class="org-ul"> +<li>Install some packages:<br /> +<code>sudo pacman -Syu sudo pacman -S nvidia nvidia-utils nvidia-settings</code></li> +<li>Rebuild the initramfs:<br /> +<code>sudo mkinitcpio -P</code></li> +<li>Follow <a href="https://wiki.archlinux.org/title/NVIDIA_Optimus#LightDM">a +guide found here</a> to setup lightdm for nvidia.</li> +<li>Open up the xfce startup app thingy and add +<code>nvidia-settings --load-config-only</code> as a startup app so your nvidia +settings load on login.</li> +<li>After reboot you can check the drivers with: +<ul class="org-ul"> +<li>My prefered way:<br /> +<code>sudo pacman -S mesa-utils glxinfo | grep -E "OpenGL vendor|OpenGL renderer"</code></li> +<li>Another way: <code>nvidia-smi</code></li> +</ul></li> +<li>For multi monitor refresh rate issues add these to your +/etc/environment<br /> +<code>CLUTTER_DEFAULT_FPS=<refresh rate of your sync monitor> __GL_SYNC_DISPLAY_DEVICE=<monitor to sync to></code><br /> +Then open your nvidia settings, go to OpenGL Settings and turn off +"Allow Flipping".</li> +</ul> +</div> +</div> +<div id="outline-container-tricks" class="outline-3"> +<h3 id="tricks"><span class="section-number-3">1.4.</span> Tricks</h3> +<div class="outline-text-3" id="text-tricks"> +<ul class="org-ul"> +<li>To clean out shit that builds up in pacman run <code>sudo pacman -Sc</code> and +<code>sudo pacman -Qdtq | sudo pacman -Rs -</code><br /> +<code>-Sc</code> also works in yay.</li> +</ul> +</div> +</div> +</div> +</td></tr></table> +<div id="postamble" class="status"> +<p class="creator"><a href="https://www.gnu.org/software/emacs/">Emacs</a> 30.1 (<a href="https://orgmode.org">Org</a> mode 9.7.11)</p> +</div> +</center> +</body> +</html> diff --git a/testTheThing/xhtml/distro-guides/fedora.xhtml b/testTheThing/xhtml/distro-guides/fedora.xhtml new file mode 100644 index 0000000..c09039e --- /dev/null +++ b/testTheThing/xhtml/distro-guides/fedora.xhtml @@ -0,0 +1,156 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<title>‎</title> +<meta name="generator" content="Org Mode" /> +</head> +<body bgcolor="#dcd1ba"> +<center> +<table border="1" width="65%" bgcolor="#bebebe" id="content" class="content"><tr><td> +<div id="table-of-contents" role="doc-toc"> +<h2>Table of Contents</h2> +<div id="text-table-of-contents" role="doc-toc"> +<ul> +<li><a href="#fedora-xfce">1. Fedora xfce</a> +<ul> +<li><a href="#setting_up">1.1. Setting up fedora</a> +<ul> +<li><a href="#packages">1.1.1. Packages</a></li> +<li><a href="#multimedia">1.1.2. Multimedia</a></li> +</ul> +</li> +<li><a href="#nvidia">1.2. Nvidia drivers</a></li> +<li><a href="#useful_things">1.3. Useful things in fedora</a></li> +</ul> +</li> +</ul> +</div> +</div> +<p> +<a href="../index.html">[[../images/back<sub>home.png</sub></a>]]<br /> +<a href="../linux_room.html#distro_guides">[[file:images/back.png</a>]] +</p> +<div id="outline-container-fedora-xfce" class="outline-2"> +<h2 id="fedora-xfce"><span class="section-number-2">1.</span> Fedora xfce</h2> +<div class="outline-text-2" id="text-fedora-xfce"> +<p> +Fedora been my go to for quite a while though I sometimes switch +desktops lmao. I have tried the gnome version but it doesn't really fit +me so most of the time I have used the kde spin though recently kde just +haven't been feeling the same. It has been feeling buggy and have been +fighting with nvidia drivers. After running xfce on my second computer +for a while I grew to really like it and started using it on my main and +it have been running much better then kde.<br /> +<br /> +Fedora xfce can be downloaded +<a href="https://fedoraproject.org/spins/xfce">here</a>. +</p> + +<ul class="org-ul"> +<li><a href="#setting_up">Setting up fedora</a></li> +<li><a href="#nvidia">Nvidia drivers</a></li> +<li><a href="#useful_things">Useful things in fedora</a></li> +</ul> +</div> +<div id="outline-container-setting_up" class="outline-3"> +<h3 id="setting_up"><span class="section-number-3">1.1.</span> Setting up fedora</h3> +<div class="outline-text-3" id="text-setting_up"> +<p> +Fedora has a little extra setup you wouldn't see in something like linux +mint though it isn't that bad. +</p> +</div> +<div id="outline-container-packages" class="outline-4"> +<h4 id="packages"><span class="section-number-4">1.1.1.</span> Packages</h4> +<div class="outline-text-4" id="text-packages"> +<p> +You can speed up dnf by adding these to /etc/dnf/dnf.conf<br /> +<code>max_parallel_downloads=20 fastestmirror=True</code><br /> +<br /> +The default repos have lots of stuff but you might want an app that +isn't in it like steam. I know the gnome version has a enable 3rd party +repos button that does everything I listed here but I am on the xfce +version and also had to do this on the kde verison. +</p> + +<ul class="org-ul"> +<li>Setup rpm fusion to get more packages in dnf with the +<a href="https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/">resources +here</a></li> +<li>Install flatpak if not already there using "sudo dnf install flatpak" +then add <a href="https://flathub.org/setup/Fedora">flathub</a> to get some +cool apps!</li> +</ul> +</div> +</div> +<div id="outline-container-multimedia" class="outline-4"> +<h4 id="multimedia"><span class="section-number-4">1.1.2.</span> Multimedia</h4> +<div class="outline-text-4" id="text-multimedia"> +<p> +By default fedora doesn't have many codecs and you need to install them +yourself. Without them many media files will not work and lots of +youtube videos will not be able to play. The fedora docs use to show how +to install them but they removed it from their page and instead shows a +new version which installs some stuff but not everything. I do both of +them to make sure I get all the codecs I need. +</p> + +<ul class="org-ul"> +<li>Update your system with <code>sudo dnf upgrade</code></li> +<li>Install the new packages with <code>sudo dnf group install multimedia</code></li> +<li>Install the old ones with these three commands in a row: +<ul class="org-ul"> +<li><code>sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel</code></li> +<li><code>sudo dnf install lame\* --exclude=lame-devel</code></li> +<li><code>sudo dnf swap ffmpeg-free ffmpeg --allowerasing</code></li> +</ul></li> +</ul> +</div> +</div> +</div> +<div id="outline-container-nvidia" class="outline-3"> +<h3 id="nvidia"><span class="section-number-3">1.2.</span> Nvidia drivers</h3> +<div class="outline-text-3" id="text-nvidia"> +<p> +Nvidia isn't the best on linux and I like AMD much more though I am +stuck with nvidia for now. For xfce there are some extra settings to +enable it but it works great once that is done. You will need rpm fusion +first before you can install the drivers. +</p> + +<ul class="org-ul"> +<li>Follow the fedora docs on nvidia +<a href="https://docs.fedoraproject.org/en-US/quick-docs/set-nvidia-as-primary-gpu-on-optimus-based-laptops">here</a></li> +<li>Also look at the rpmfusion docs on nvidia +<a href="https://rpmfusion.org/Howto/NVIDIA">here</a></li> +<li>Follow the archwiki on nvidia in lightdm +<a href="https://wiki.archlinux.org/title/NVIDIA_Optimus#LightDM">here</a>.</li> +<li>For multi monitor refresh rate issues add these to your +/etc/environment<br /> +<code>CLUTTER_DEFAULT_FPS=<refresh rate of your sync monitor> __GL_SYNC_DISPLAY_DEVICE=<monitor to sync to></code><br /> +Then open your nvidia settings, go to OpenGL Settings and turn off +"Allow Flipping".</li> +</ul> +</div> +</div> +<div id="outline-container-useful_things" class="outline-3"> +<h3 id="useful_things"><span class="section-number-3">1.3.</span> Useful things in fedora</h3> +<div class="outline-text-3" id="text-useful_things"> +<p> +Fedora doesn't have "update-grub" so instead you have to use these:<br /> +<code>sudo grub2-mkconfig -o /etc/grub2.cfg sudo grub2-mkconfig -o /etc/grub2-efi.cfg</code> +</p> +</div> +</div> +</div> +</td></tr></table> +<div id="postamble" class="status"> +<p class="creator"><a href="https://www.gnu.org/software/emacs/">Emacs</a> 30.1 (<a href="https://orgmode.org">Org</a> mode 9.7.11)</p> +</div> +</center> +</body> +</html> diff --git a/testTheThing/xhtml/distro-guides/images/back.png b/testTheThing/xhtml/distro-guides/images/back.png Binary files differnew file mode 100644 index 0000000..aec1613 --- /dev/null +++ b/testTheThing/xhtml/distro-guides/images/back.png diff --git a/testTheThing/xhtml/distro-guides/xfce.xhtml b/testTheThing/xhtml/distro-guides/xfce.xhtml new file mode 100644 index 0000000..a3590f8 --- /dev/null +++ b/testTheThing/xhtml/distro-guides/xfce.xhtml @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> +<meta name="viewport" content="width=device-width, initial-scale=1" /> +<title>‎</title> +<meta name="generator" content="Org Mode" /> +</head> +<body bgcolor="#dcd1ba"> +<center> +<table border="1" width="65%" bgcolor="#bebebe" id="content" class="content"><tr><td> +<div id="table-of-contents" role="doc-toc"> +<h2>Table of Contents</h2> +<div id="text-table-of-contents" role="doc-toc"> +<ul> +<li><a href="#xfce-de">1. Xfce DE</a></li> +<li><a href="#rofi-in-xfce">2. Rofi in xfce</a></li> +</ul> +</div> +</div> +<p> +<a href="../index.html">[[../images/back<sub>home.png</sub></a>]]<br /> +<a href="../linux_room.html#distro_guides">[[file:images/back.png</a>]] +</p> +<div id="outline-container-xfce-de" class="outline-2"> +<h2 id="xfce-de"><span class="section-number-2">1.</span> Xfce DE</h2> +<div class="outline-text-2" id="text-xfce-de"> +<p> +Indeed the best DE out there. +</p> + +<p> +By default xfce is a very plain desktop and looks kind of old and shitty +(like this website), but it can look and feel great with some work! +</p> + +<ul class="org-ul"> +<li>Install nicer icons like papirus, can never go wrong with papirus +icons. then set them as your icon theme</li> +<li>Install a better theme. Some good ones are: +<ul class="org-ul"> +<li><a href="https://drasite.com/flat-remix-gtk">flat-remix</a></li> +<li><a href="https://www.xfce-look.org/p/1681313/">gruvbox</a></li> +<li><a href="https://www.xfce-look.org/p/2098041">DoorMaker</a></li> +<li><a href="https://www.xfce-look.org/p/1394325">BaZik</a></li> +</ul></li> +<li>Install kvantum and kvantum-qt5 to change qt themes. Add this to +<code>/etc/environment</code> for kvantum to work:<br /> +<code>QT_STYLE_OVERRIDE=kvantum</code></li> +<li>Whisker menu for those who want a more modern menu: +<ul class="org-ul"> +<li>Install whisker menu for a way better menu</li> +<li>Go into the panel settings to remove the old one and change it to +whisker menu.</li> +</ul></li> +<li>Enable clipman as one of the startup apps for a kde like clipboard.</li> +<li>Make some nicer keybinds: +<ul class="org-ul"> +<li>Bind <code>xfce4-popup-whiskermenu</code> to something like alt+f1 than use +xcape to bind it to super to get around the xfce super key bug. Add +<code>xcape -e 'Super_L=Alt_L|F1'</code> as a startup application or whatever +dummy keybind you binded to whiskermenu. Sadly xfce cant bind +anything to super key without breaking other shortcuts that use +super so we have to use xcape in a painful hacky way.</li> +<li>Bind "super+v" to <code>xfce4-clipman-history</code> to make it feel more like +the kde clipboard</li> +</ul></li> +<li>Make new windows show up at the mouse by going into the "Window +ManagerTweaks" "Placement" tab, turning the minimum size all the way +up and chaning the place windows position to under the mouse pointer.</li> +<li>Go into "Window Manager" and set a cooler window style and more sane +shortcuts for virtual desktops.</li> +<li>Go into "Window Manager Tweaks" and fuck around with the compositor +settings for cool clear things.</li> +</ul> +</div> +</div> +<div id="outline-container-rofi-in-xfce" class="outline-2"> +<h2 id="rofi-in-xfce"><span class="section-number-2">2.</span> Rofi in xfce</h2> +<div class="outline-text-2" id="text-rofi-in-xfce"> +<p> +The default xfce appfinder been causing me issues lately so I decided to +switch to rofi.<br /> +<br /> +To make rofi work with my workflow I like to add some binds for it: +</p> + +<ul class="org-ul"> +<li>Bind <code>rofi -show drun -icon-theme "Papirus-Dark" -show-icons</code> to +super+d</li> +<li>Bind <code>rofi -show run</code> to super+r</li> +<li>Bind <code>rofi -show window -icon-theme "Papirus-Dark" -show-icons</code> to +super+w</li> +</ul> + +<p> +There is much more I could use rofi for but this is all I need. +</p> +</div> +</div> +</td></tr></table> +<div id="postamble" class="status"> +<p class="creator"><a href="https://www.gnu.org/software/emacs/">Emacs</a> 30.1 (<a href="https://orgmode.org">Org</a> mode 9.7.11)</p> +</div> +</center> +</body> +</html> |