Skip to content

Instantly share code, notes, and snippets.

@JoseZancanaro
Last active January 2, 2024 05:37
Show Gist options
  • Save JoseZancanaro/11f08fe9c4056b5283195d700d721638 to your computer and use it in GitHub Desktop.
Save JoseZancanaro/11f08fe9c4056b5283195d700d721638 to your computer and use it in GitHub Desktop.
General recommendations after an Arch Linux installation

Arch Linux Post Installation

See Arch Linux general recommendations for complete details.

About this document:

Won't have all the commands from the Arch Linux general recommendations, only the most interesting to me, and that can serve as a reminder or future study.


First of all, update all packages

# pacman -Syyu

Users

# pacman -S sudo

Create and set password for new user

# useradd -m _username_ 
# passwd _username_ 

Set permissions for the new user

# usermod -a -G wheel,storage,power,audio _username_

Then, edit /etc/sudoers, uncomment %wheel ALL=(ALL:ALL) ALL
Reboot and login with your new user


Graphical User Interface

Display Server (Xorg)

$ pacman -S xorg-server

Edit or create ~/.xprofile, then set Xorg keyboard layout

# setxkbmap br

Desktop Environment (XFCE)

$ pacman -S xfce4

Display Manager (LightDM)

$ pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings
$ systemctl enable lightdm

User Directories

$ pacman -S xdg-user-dirs
# xdg-user-dirs-update

Audio

$ pacman pulseaudio xfce4-pulseaudio-plugin pavucontrol

Improving the audio (available in Tuning PulseAudio)

Edit /etc/pulse/daemon.conf, uncomment the following lines

high-priority = yes
nice-level = -11

realtime-scheduling = yes
realtime-priority = 5

Uncomment too, but change the value to 10 (old value is 1)

resample-method = speex-float-10

Reboot


Extras Packages

General

$ pacman -S bash-completion htop neofetch

XFCE

XFCE extra group packages available in xfce4 goodies

$ pacman -S xfce4-clipman-plugin xfce4-whiskermenu-plugin xfce4-screenshooter xfce4-screensaver

AUR (Yay)

$ pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

Themes

# yay orchis-theme breeze-default-cursor-theme tela-circle-icon-theme-grey

Text Editor

$ pacman -S mousepad

Image Viewer

$ pacman -S ristretto

Network Manager Display

$ pacman -S network-manager-applet

Thunar (improvements and trash)

$ pacman -S thunar-archive-plugin gvfs

Terminal

$ pacman -S rxvt-unicode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment