Arch Linux
Mostly for personal reference how to quickly set up Arch Linux according to personal tastes. Refer to Arch Wiki for more comprehensive guidance.
Getting Started
Quick and easy(tm)
Preparations
INFO: This is a shortened version of the Arch Wiki installation guide. Download an ISO from the A...
Booting the installation medium
ATTENTION: The Arch Linux installation medium does not support Secure Boot. You will have to disa...
Extra: Installing via SSH
WARNING: Only do this in a trustworthy network environment, e.g. at home, to prevent the possibil...
Partitioning
Different partioning schemes and their setup
Understanding Linux file systems
Linux supports a number of different file systems with different sets of features and intended us...
Singular file system
The simplest, most basic partitioning scheme in any Linux operating system consists of 3 partitio...
Singular file system (LUKS, encrypted)
LUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption. By providing a sta...
Encrypt non-root devices (LUKS)
If you have more than one hard disk that you need to encrypt (e.g. SSD as main disk, HDD as data ...
LVM + dm-cache (unencrypted)
LVM dm-cache is a feature of the Linux device mapper, which uses a fast storage device to boost d...
LVM on LUKS (encrypted, Laptop)
LUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption. By providing a sta...
LUKS on LVM (encrypted, cached, Desktop)
LUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption. By providing a sta...
Installation
Laying the foundation
Base System
The absolute minimum set of packages required to install Arch Linux onto a machine is as follows:...
Time Zone & Locale
Time zone Create a symbolic link to your local time zone at /etc/localtime and sync the time with...
Network
Set up the default host name of the machine as well as localhost: NOTE: sebin-desktop is used as ...
Root Password
Set the password for the root user: passwd This password schould differ from the regular user pa...
sudo
sudo is the standard tool for gaining temporary system administrator privileges on Linux to perfo...
zsh
zsh is a modern shell with lots of customizability and features. Install the following packages: ...
Add User
It is advised to add a regular user account for day to day usage. Add a new user, create a home d...
AUR Helper
An AUR helper is a tool that simplifies the process of procuring extra packages from the Arch Use...
initramfs
The initramfs contains all the necessary programs and config files needed to bring up the machine...
zram
The zram kernel module provides a compressed block device in RAM. If you use it as swap device, t...
Secure Boot
Secure Boot is a security feature found in the UEFI standard, designed to add a layer of protecti...
Boot Loader
systemd-boot systemd comes with systemd-boot already, so no additional packages need to be instal...
Hardware
Get your gizmos up to speed
Graphics Cards
Drivers for hardware accelerated desktop rendering, improving performance and fidelity. The Linux...
Sound
For audio handling on Linux, PipeWire is the currently recommended framework. PipeWire is a serve...
Bluetooth
Install the following packages to enable Bluetooth functionality and the necessary tools to contr...
Printing
Install the following packages for printer support: pacman -S cups logrotate system-config-printe...
Trusted Platform Module
Trusted Platform Module (TPM) is an international standard for a secure cryptoprocessor, which is...
Universial 2nd Factor (U2F)
Universal 2nd Factor (U2F) is an open standard that strengthens and simplifies two-factor authent...
Desktop Environemt
Pick your poison
Software
Tools to aid you
Spell checking
Hunspell is a spell checker and morphological analyzer library used by Firefox, Thunderbird, Chro...
Fonts
Emoji Fonts pacman -S noto-fonts-emoji Asian Language Fonts pacman -S noto-fonts-cjk adobe-sourc...
Polkit
polkit is an application-level toolkit for defining and handling the policy that allows unprivile...
Firefox
Install Firefox via these packages (adjust for your desired locale): pacman -S firefox firefox-i1...
Google Chrome
Install Google Chrome from AUR: yay -S google-chrome Tweaks To enable hardware accelerated video...
Apostrophe
Apostrophe is a simple and distraction-free Markdown editor with a minimalistic interface, live p...
Discord
Discord is a proprietary, cross-platform, all-in-one voice and text chat application. Install Dis...
Blu-ray
Playback In order play Blu-Rays install the following packages: sudo pacman -S libbluray libaacs ...
Node.js (nvm)
Use the Node Version Manager (nvm) to install Node.js into your current user's path and switch No...
KVM
KVM (Kernel-based Virtual Machine) is a hypervisor built into the Linux kernel. Install libvirt ...
Folding@Home
Help scientists studying Alzheimer's, Huntington's, Parkinson's, and SARS-CoV-2 by simply running...
Timeshift
Timeshift is a backup and restore tool utilizing either rsync or btrfs snapshots. Installation WA...
Snapper
Install snapper pacman -S snapper snap-pac Generate root config snapper -c root create-config / ...
Games
Get your game on!
Wine
Install Wine to play (almost) any Windows game on Linux. For a compatibility list refer to Proton...
Steam
The popular game distribution platform and library management client from Valve. NOTE: activate t...
DOSBox
Install DOSBox Staging for a more enhanced DOS gaming experience: yay -S dosbox-staging General ...
ScummVM
Dabble in some adventure games of yore with ScummVM: pacman -S scummvm
OpenRCT2
A legitimate copy of the game is required to play, either bought from Steam GOG.com...
CorsixTH
A legitimate copy of the game is required to play, either bought from GOG.com a ret...
ioquake3
A legitimate copy of the game is required to play, either bought from Steam GOG.com...
DXX-Rebirth
Legitimate copies of the games are required to play, either bought from GOG.com ...
Minecraft
The official Minecraft Launcher package maintained by Microsoft: yay -S minecraft-launcher
Sim City 3000
Widescreen hack Edit SC3U.exe with a hex editor and search for the following byte sequence: 8b 4c...
UT2004 (Atari DVD Release Version)
Install from the DVD. Navigate to the location the DVD was mounted at and run: sudo sh ./linux-in...
Customization & Tweaks
Make it yours
DBus
dbus-broker is a drop-in replacement for the libdbus reference implementation, which aims "to pro...
KDE Plasma Themes
Akava https://akava-design.github.io/ yay -S breeze-blurred-git akava-kde-git akava-konsole-git k...
Latte Dock
CAUTION: The developer of Latte announced his retirement from maintining the project. Dock based ...
Additional Packages
Additional packages one might find useful to have installed on their system File System Utilities...
zsh configuration
zsh configuration as provided on a standard Manjaro install with some additions General settings...
Plymouth
Plymouth replaces boot messages with a pretty splash screen. Installation yay -S plymouth ttf-dej...
Reinstall preparation
Backup Folders in /home .dosbox (DOSBox configs) .local/bin (local scripts) .mozilla (Firef...
Qt Wayland
Display server To utilize Wayland for Qt-based applications install the qt5-wayland and qt6-wayla...
Removing unused packages (orphans)
Orphans can accumulate as packages are removed via pacman -R instead of pacman -Rs, makedepends o...
Troubleshooting
Things will break. Start here when they do.
Restore Secure Boot Keys, Bootloader, LUKS TPM Key after Firmware update
After a firmware upgrade the firmware settings might get reset to their default values, including...
WARNING: Possibly missing firmware for module during initrd generation
During initrd generation mkinitcpio might output the following messages: ==> Starting build: '6.2...
Python Applications Stop Working
After a new minor release of Python (e.g. 3.9 -> 3.10) some Python packages from the AUR might st...
Discover does not offer system package updates
Sometimes Discover fails to delete the lockfile for PackageKit. In this case, delete the lockfile...
Fonts in GNOME Flatpak apps are not anti-aliased on non-GTK desktops
Under Wayland GNOME apps get their anti-aliasing settings from XDG Portals. To make fonts look ni...