Arch tips

Contents

Installation

Flashing

Use etcher

Partitioning

Use cfdisk
pic of cfdisk

Network

Use NetworkManager for network management
In chroot
pacman -S networkmanager
systemctl enable NetworkManager

# To connect to wifi
nmtui

Miscellanous

Enable color

sudo sed -i '/Color/s/^#//g' /etc/pacman.conf
yay colors

Run programs in english


To run a single command in english
First sudo locale-gen en_US.UTF-8
To run a single command in english
LC_ALL=en_US.UTF-8 *command*
To run the terminal session in english
export LC_ALL=en_US.UTF-8
these also work for gui applications

Faster download speeds

Use reflector and powerpill

To see partition/volume paths use

lsblk -p

How to use pacman

https://wiki.archlinux.org/index.php/Pacman/Rosetta

ext4 reserved space


ext4 by default reserves 5% of the space in a partition for root, 5% of 1TB is ~50GB to disable reserved space
sudo tune2fs -m 0 /dev/sdXX

faster wifi


Do a speedtest and save the results
sudo pacman -S crda
sudo iw reg set XX where XX is your country code, for example FI
Do a speedtest and compare the results
To make the change permanent sudo nano /etc/conf.d/wireless-regdom and remove the # in front of your country code
source

caps as escape


read this
sudo $EDITOR /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
Option "XkbOptions" "caps:escape"
EndSection
possible options
caps:swapescape                Swap Esc and Caps Lock                                                          
caps:escape                    Make Caps Lock an additional Esc                                                
caps:escape_shifted_capslock   Make Caps Lock an additional Esc, but Shift + Caps Lock is the regular Caps Lock