Arch Desktop

Desktop environment

Prerequisites

If you did not install a GUI interface before reboot you can Use nmtui-connect to establish the internet and begin installing packages.

Install a graphical desktop environment and video driver.

Xorg is the standard for window management (look for Wayland in the future)

# this will allow to install a desktop environment
pacman -S xorg-server

# Driver installation https://wiki.archlinux.org/title/Xorg
# install video driver depending on hardware that you have
# First, identify the graphics card (the Subsystem output shows the specific model):
lspci -v | grep -A1 -e VGA -e 3D
# Then, install an appropriate driver. You can search the package database for a complete list of open-source video drivers:
pacman -Ss xf86-video
# amd
pacman -S xf86-video-amdgpu
# intel
pacman -S xf86-video-intel

pacman -S mesa # for intel or amd gpu
pacman -S nvidia # if you have nvidia gpu if you installed the "linux" kernel
pacman -S nvidia-lts # if you have nvidia gpu if you installed the "linux-lts" kernel. OR both if you have installed both linux kernels.

pacman -S xf86-input-synaptics  # Synaptics driver for notebook touchpads

# For virtual box only
pacman -S virtualbox-guest-utils xf86-video-vmware
systemctl enable vboxservice

Now choose your preferred Desktop

GNOME

pacman -S gnome
pacman -S gnome-tweaks

Enable display manager

systemctl enable gdm # enable the login screen to appear

Set language if the terminal does not open.

  • Region-Language - if Unspecified select a language and restart

Plasma

pacman -S plasma-meta kde-applications
systemctl enable sddm

Xfce

pacman -S xfce4 xfce4-goodies
pacman -S lightdm lightdm-gtk-greeter # install the display manager
systemctl enable lightdm

MATE

KDE + Wayland

This is my choice.

# Installing KDE Plasma desktop. 
# https://wiki.archlinux.org/title/KDE#Plasma
# A. the lightest version
pacman -S xorg plasma-meta plasma-wayland-session
# B. light version instead of “kde-applications-meta” add
#pacman -S xorg plasma-meta plasma-wayland-session kde-utilities-meta kde-accessibility-meta
# C. full version
#pacman -S xorg plasma-meta plasma-wayland-session kde-applications-meta

# other tools if you want to install https://archlinux.org/groups/
# Xorg group
# KDE Plasma Desktop Environment
# Wayland session for KDE Plasma
# KDE applications group (consists of KDE specific applications including the Dolphin manager and other useful apps)

# Enable the Display Manager and Network Manager services:
systemctl enable sddm.service
systemctl enable NetworkManager.service

Desktop software

pacman -S bluez bluez-utils pipewire wget firefox neofetch
systemctl enable bluetooth.service
systemctl start bluetooth.service

Pacman

Pacman is Arch package manager.

pacman --help
pacman -S --help
pacman -Ss # search for packages
pacman -Sy # update all packages
pacman -Syu # sysupgrade full system upgrade
pacman -Rs <package-name>  # remove app from system

AUR

Arch User repositories
Install AUR packages with multiple install methods.

makepkg --help
makepkg -și
pacman -U package_file
  • Aur helper extends pacman functionality

YAY

# Install YAY
su paul
sudo pacman -S --needed git base-devel
mkdir -p ~/.apps/ 
cd ~/.apps/
git clone https://aur.archlinux.org/yay.git
# id # to find the user and groups.
# sudo chown -R paul:users ./yay
cd yay
makepkg -si
# Install a package
yay -S <package-name>
# Upgrade all the packages on your system
yay -Syu
# Remove a package using
yay -Rns <package-name>

Programs and tools installed

AUR Apps

yay -S sublime-text-4
# OR
# Download tarball from https://www.sublimetext.com/download
mkdir -p ~/Apps
cd ~/Apps
wget https://download.sublimetext.com/sublime_text_build_4126_x64.tar.xz
tar -xvf sublime_text_build_4126_x64.tar.xz
cd sublime_text
sed -i.bak "s/\/opt/\/home\/paul\/Apps/g" sublime_text.desktop
cp sublime_text.desktop /usr/share/applications/

Resources

https://octetz.com/docs/2020/2020-2-16-arch-windows-install/
https://github.com/joshrosso/linux-desktop
https://www.learnlinux.tv/arch-linux-full-installation-guide/