aboutsummaryrefslogtreecommitdiff
path: root/testTheThing/distro_guides
diff options
context:
space:
mode:
Diffstat (limited to 'testTheThing/distro_guides')
-rw-r--r--testTheThing/distro_guides/arch.html184
-rw-r--r--testTheThing/distro_guides/fedora.html154
-rw-r--r--testTheThing/distro_guides/images/back.pngbin0 -> 752 bytes
-rw-r--r--testTheThing/distro_guides/xfce.html120
4 files changed, 458 insertions, 0 deletions
diff --git a/testTheThing/distro_guides/arch.html b/testTheThing/distro_guides/arch.html
new file mode 100644
index 0000000..81ab3ba
--- /dev/null
+++ b/testTheThing/distro_guides/arch.html
@@ -0,0 +1,184 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Arch guide</title>
+ <style>
+
+ body {
+ color: black;
+ background-image: url('../images/linux_background.png');
+ }
+
+ table {
+ color: black;
+ background-color: #bebebe;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ margin-left: 10px;
+ margin-right: 10px;
+ }
+
+ </style>
+</head>
+<body>
+ <a href="../index.html"><img src="../images/back_home.png" alt=
+ "Back to home page"></a><br>
+ <a href="../linux_room.html#distro_guides"><img src="images/back.png" alt=
+ "Back to linux room"></a>
+ <center>
+ <table border="1" width="60%">
+ <tr>
+ <td>
+ <h1>Arch linux</h1>
+ <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>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <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>
+ </td>
+ </tr>
+ </table>
+ <table border="1" width="60%">
+ <tr>
+ <td>
+ <h2 id="installing">Installing arch</h2>
+ <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"
+ target="_blank">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" target="_blank">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>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2 id="post">After installing</h2>
+ <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" target="_blank">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" target="_blank">
+ yay</a> because it makes life in arch easier even though its
+ stupid ass bloat.
+ </li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2 id="nvidia">Nvidia drivers</h2>
+ <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>
+ <li>
+ <a href="https://wiki.archlinux.org/title/NVIDIA" target=
+ "_blank">Offical nvidia arch wiki</a>
+ </li>
+ <li>
+ <a href=
+ "https://github.com/korvahannu/arch-nvidia-drivers-installation-guide"
+ target="_blank">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"
+ target="_blank">Ewwwww, medium site (it strangely works without
+ javascript)</a>
+ </li>
+ </ul>Guide for my system mostly and maybe yours:
+ <ul>
+ <li>Install some packages:<br>
+ <code>sudo pacman -Syu<br>
+ 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"
+ target="_blank">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>
+ <li>My prefered way:<br>
+ <code>sudo pacman -S mesa-utils<br>
+ 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=&lt;refresh rate of your sync
+ monitor&gt;<br>
+ __GL_SYNC_DISPLAY_DEVICE=&lt;monitor to sync to&gt;</code><br>
+ Then open your nvidia settings, go to OpenGL Settings and turn off
+ "Allow Flipping".</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2 id="tricks">Tricks</h2>
+ <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>
+ </td>
+ </tr>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/testTheThing/distro_guides/fedora.html b/testTheThing/distro_guides/fedora.html
new file mode 100644
index 0000000..72b47c7
--- /dev/null
+++ b/testTheThing/distro_guides/fedora.html
@@ -0,0 +1,154 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Fedora guide</title>
+ <style>
+
+ body {
+ color: black;
+ background-image: url('../images/linux_background.png');
+ }
+
+ table {
+ color: black;
+ background-color: #bebebe;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ margin-left: 10px;
+ margin-right: 10px;
+ }
+
+ </style>
+</head>
+<body>
+ <a href="../index.html"><img src="../images/back_home.png" alt=
+ "Back to home page"></a><br>
+ <a href="../linux_room.html#distro_guides"><img src="images/back.png" alt=
+ "Back to linux room"></a>
+ <center>
+ <table border="1" width="60%">
+ <tr>
+ <td>
+ <h1>Fedora xfce</h1>
+ <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" target="_blank">here</a>.</p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <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>
+ </td>
+ </tr>
+ </table>
+ <table border="1" width="60%">
+ <tr>
+ <td>
+ <h2 id="setting_up">Setting up fedora</h2>
+ <p>Fedora has a little extra setup you wouldn't see in something
+ like linux mint though it isn't that bad.</p>
+ <h3>Packages</h3>
+ <p>You can speed up dnf by adding these to /etc/dnf/dnf.conf<br>
+ <code>max_parallel_downloads=20<br>
+ 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>
+ <li>Setup rpm fusion to get more packages in dnf with the
+ <a href="https://docs.fedoraproject.org/en-US/quick-docs/rpmfusion-setup/"
+ target="_blank">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"
+ target="_blank">flathub</a> to get some cool apps!
+ </li>
+ </ul>
+ <h3>Multimedia</h3>
+ <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>
+ <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>
+ <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>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2 id="nvidia">Nvidia drivers</h2>
+ <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>
+ <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"
+ target="_blank">here</a>
+ </li>
+ <li>Also look at the rpmfusion docs on nvidia <a href=
+ "https://rpmfusion.org/Howto/NVIDIA" target="_blank">here</a>
+ </li>
+ <li>Follow the archwiki on nvidia in lightdm <a href=
+ "https://wiki.archlinux.org/title/NVIDIA_Optimus#LightDM"
+ target="_blank">here</a>.
+ </li>
+ <li>For multi monitor refresh rate issues add these to your
+ /etc/environment<br>
+ <code>CLUTTER_DEFAULT_FPS=&lt;refresh rate of your sync
+ monitor&gt;<br>
+ __GL_SYNC_DISPLAY_DEVICE=&lt;monitor to sync to&gt;</code><br>
+ Then open your nvidia settings, go to OpenGL Settings and turn off
+ "Allow Flipping".</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2 id="useful_things">Useful things in fedora</h2>Fedora doesn't
+ have "update-grub" so instead you have to use these:<br>
+ <code>sudo grub2-mkconfig -o /etc/grub2.cfg<br>
+ sudo grub2-mkconfig -o /etc/grub2-efi.cfg</code>
+ </td>
+ </tr>
+ </table>
+ </center>
+</body>
+</html>
diff --git a/testTheThing/distro_guides/images/back.png b/testTheThing/distro_guides/images/back.png
new file mode 100644
index 0000000..aec1613
--- /dev/null
+++ b/testTheThing/distro_guides/images/back.png
Binary files differ
diff --git a/testTheThing/distro_guides/xfce.html b/testTheThing/distro_guides/xfce.html
new file mode 100644
index 0000000..02f43ab
--- /dev/null
+++ b/testTheThing/distro_guides/xfce.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Xfce guide</title>
+ <style>
+
+ body {
+ color: black;
+ background-image: url('../images/linux_background.png');
+ }
+
+ table {
+ color: black;
+ background-color: #bebebe;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ margin-left: 10px;
+ margin-right: 10px;
+ }
+
+ </style>
+</head>
+<body>
+ <a href="../index.html"><img src="../images/back_home.png" alt=
+ "Back to home page"></a><br>
+ <a href="../linux_room.html#distro_guides"><img src="images/back.png" alt=
+ "Back to linux room"></a>
+ <center>
+ <table border="1" width="60%">
+ <tr>
+ <td>
+ <h2>Xfce DE</h2>
+ <p>Indeed the best DE out there.</p>
+ </td>
+ </tr>
+ </table>
+ <table border="1" width="60%">
+ <tr>
+ <td>
+ <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>
+ <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>
+ <li>
+ <a href="https://drasite.com/flat-remix-gtk" target=
+ "_blank">flat-remix</a>
+ </li>
+ <li>
+ <a href="https://www.xfce-look.org/p/1681313/" target=
+ "_blank">gruvbox</a>
+ </li>
+ <li>
+ <a href="https://www.xfce-look.org/p/2098041" target=
+ "_blank">DoorMaker</a>
+ </li>
+ <li>
+ <a href="https://www.xfce-look.org/p/1394325" target=
+ "_blank">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>
+ <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>
+ <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>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <h2>Rofi in xfce</h2>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:
+ <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>There is much more I could use rofi for but this is all I need.
+ </td>
+ </tr>
+ </table>
+ </center>
+</body>
+</html>