Back to home page
Back to linux room

Arch Guide

Table of Contents

1. Arch linux

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.

Warning: I dont personally use arch anymore so I am not going to bother updating this

2. Installing arch

A lot of arch users will get pissed as fuck at me but its ok to use archinstall. I personally prefer manually installing arch and wouldnt want to do it any other way so I dont use it, btw (:

The offical arch installation guide and other resources on the arch wiki is a great way to install arch though I also like to use distro tubes arch installation guide 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.

Some things I gotta add is for me DT's video doesnt work 100 percent. When setting up grub it cant find the efi directory. Instead of upper case /boot/EFI do lower case /boot/efi. 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 GRUB_DISABLE_OS_PROBER=false in /etc/default/grub and mount the MS Windows(R) directory in the efi directory for OS proper to work sometimes. The best fix is to run windows in a VM if you have to touch that nasty thing.

3. After installing

  • 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 SpaceFM. Just fuck around tbh.
  • If your sound fucking aint working right install sof-firmware.
  • I use yay because it makes life in arch easier even though its stupid ass bloat.

4. Nvidia drivers

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:

Guide for my system mostly and maybe yours:

  • Install some packages:
    sudo pacman -Syu
    sudo pacman -S nvidia nvidia-utils nvidia-settings
  • Rebuild the initramfs (pacman often does it but just in case):
    sudo mkinitcpio -P
  • To setup the xorg config run:
    sudo cp /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf /etc/X11/xorg.conf.d/
    Than add Option "PrimaryGPU" "yes" at the end of Section "OutputClass" in the nvidia xorg config.
  • Follow a guide found here to setup lightdm for nvidia. NVIDIA-0 often isnt correct so run xrandr --listproviders to find the correct one.
  • Open up the xfce startup app thingy and add nvidia-settings --load-config-only as a startup app so your nvidia settings load on login.
  • After reboot you can check the drivers with:
    • My prefered way:
      sudo pacman -S mesa-utils
      glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
    • Another way: nvidia-smi
  • For multi monitor refresh rate issues add these to your /etc/environment
    CLUTTER_DEFAULT_FPS=<refresh rate of your sync monitor>
    __GL_SYNC_DISPLAY_DEVICE=<monitor to sync to>
    Then open your nvidia settings, go to OpenGL Settings and turn off "Allow Flipping".

5. Tricks

  • To clean out shit that builds up in pacman run sudo pacman -Sc and sudo pacman -Qdtq | sudo pacman -Rs -
    -Sc also works in yay.

NSW