diff options
Diffstat (limited to 'testTheThing/xhtml/distro-guides/arch.xhtml')
-rw-r--r-- | testTheThing/xhtml/distro-guides/arch.xhtml | 160 |
1 files changed, 160 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> |