Todo

  • Notification daemon
  • Screenshot tool

Install

pacstrap

Install the following:

pacstrap -K /mnt base linux linux-firmware base-devel vim

Which will install the base packages plus some commonly used extras.

Sudo

Warning

Always use visudo to edit the /etc/sudoers.d file.

Make sure to enable the wheel group from the /etc/sudoers.d file and add your new user to the group.

Admin User

Create a new user and give them admin with the following:

useradd -m -G wheel aaatipamula
passwd aaatipamula

Networking

Make sure to configure systemd-networkd AND systemd-resolved

For networkd DHCP:

[Match]
Name=enp1s0

[Link]
RequiredForOnline=routable

[Network]
DHCP=yes

For resolved:

ln -sf ../run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Tip

Check the DNS servers with

resolvectl status

Post Install

Display/Window Manager Setup

i3

Install i3 with the following:

pacman -S xorg xorg-xinit i3-wm i3status i3blocks feh picom

feh

A background can be configured with the feh package.

feh --bg-scale /path/to/bg
Tip

You can add ~/.fehbg to your xinitrc file to automatically set the previous background!

picom

This is a compositor for xorg which I mainly use for transparent backgrounds...

Keyboard Delay

Using xset can set the timeout for repeating the key and the Hz for the keypress.

xset r rate 250 30
Note

This can be automatically set within ~/.xinitrc

Troubleshooting

pacstrap fails on signature

This can occur if you are installing an old ISO and a developer's key has expired since then. The following commands will update the database and get an updated key to verify packages.

You can run the following commands to solve the issue. They will do the following:

  1. pacman -Syy Force refresh the package database
  2. pacman -s archlinux-keyring Get the new key to verify packages
  3. pacman-key --populate archlinux Install the new key
pacman -Syy
pacman -S archlinux-keyring
pacman-key --populate archlinux