Setup your fresh Arch Linux installation

⚠️ Use loadkeys fr to load french keyboard in terminal

Base installation

In the order, do the following things:

  • Update pacman - sudo pacman -Suy
  • (optionnal) Install a beautiful font for your terminal - sudo pacman -S dina-font
  • Install the xorg server - sudo pacman -S xorg-server xorg-xinit xorg-xrandr
  • Install your favorite terminal - sudo pacman -S xfce4-terminal
  • Install basic usefull tools - sudo pacman -S git openssh

Create a .xinitrc file

This file is launched at each start of your X server. It defines some params about your configuration and which program you want to perform

setxmap fr # Will define my keyboard layout
exec i3    # Will launch i3 which is my window manager

Refresh your package sources (for Pacman)

sudo reflector -l 30 -f 11 --save /etc/pacman.d/mirrorlist

Make sound working on Arch Linux

Install alsa and cie and restart

To make mute button working :

yaourt -S alsa-lib alsa-plugins alsa-utils

Equalize left and right

amixer sset Master 80%,20%

Renew your ip address

# Kill the current ip
sudo dhcpcd -k

# Renew the ip
sudo dhcpcd

Check your system

sudo mkinitcpio -p linux

Theme

  • file explorer: yay -S thunar
  • theme switcher: yay -S lxappearence
  • icons theme:
git clone https://github.com/horst3180/arc-icon-theme --depth 1 && \
cd arc-icon-theme && ./autogen.sh --prefix=/usr && \
sudo make install

https://linuxhint.com/update_grub_arch_linux/

https://dev.to/luisabianca/fix-alsactl-store-that-does-not-save-alsamixer-settings-130i

Make screen to sleep

sleep 1; xset dpms force off

https://joshtronic.com/automatically-update-arch-linux-mirrors/