Arch and Derivatives
1. Install an AUR Helper
One of the most prominent and enticing features of Arch Linux is the Arch User Repository (AUR). The AUR is a community-driven repository that provides package descriptions (PKGBUILDs). These allow you to compile software from source using makepkg
and then install it with pacman
.
To use the AUR, you’ll need to install an AUR helper such as yay
or paru
. Most Arch-based distros (like Manjaro or EndeavourOS) already come with one preinstalled, but on pure Arch Linux you’ll need to set it up yourself.
Yay (Yet Another Yogurt – written in Go):
sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
Paru (a pacman wrapper with extra features):
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
An AUR helper isrequired for installing Asus software on Arch, and you can also use it to install popular applications like Visual Studio Code, DaVinci Resolve, and much more.
The AUR is community-driven. Anyone can upload packages, so there’s always a small risk of malicious code. Always read the PKGBUILD file before installing to see exactly what commands will run on your system.
2. Enable Multilib (Required for Drivers and Wine)
Open the pacman configuration file:
sudo nano /etc/pacman.conf
Uncomment these lines:
[multilib]
Include = /etc/pacman.d/mirrorlist
2.1 Driver Installation
If you're using an Nvidia GPU, you’ll also need to install proprietary drivers manually. AMD users can skip this, since Mesa drivers are included in the kernel and work out of the box.
Make sure Secure Boot is disabled, or the Nvidia driver won’t load.
Update system:
sudo pacman -Syu
Check GPU detection:
lspci | grep -i nvidia
If it doesn’t show, try switching to Hybrid GPU mode using supergfxctl
and run the command again.
For EndeavourOS users:
yay -S nvidia-inst
nvidia-inst
Manual installation (other Arch-based distros):
sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader
Optional: Vulkan drivers
AMD:
sudo pacman -S mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver libva-utils
Intel:
sudo pacman -S mesa lib32-mesa vulkan-intel lib32-vulkan-intel intel-media-driver libva-utils
Enable Nvidia services:
sudo systemctl enable nvidia-hibernate.service nvidia-suspend.service nvidia-resume.service nvidia-powerd.service
2.2 Asus Software Installation
Install Asus tools:
yay -S asusctl rog-control-center supergfxctl
Enable GPU switching daemon:
sudo systemctl enable supergfxd.service
sudo systemctl start supergfxd.service
2.3 Switching GPU Modes
GNOME: Install the supergfxctl-gex
extension.
KDE:
yay -S plasma6-applets-supergfxctl
plasmashell --replace &
Switch to Hybrid mode:
supergfxctl --mode Hybrid
3. Fixing Hotkeys
GNOME
Go to Settings > Keyboard > Shortcuts
Click “+” to add a new shortcut
KDE
Go to System Settings > Shortcuts > Custom Shortcuts
Create a new Global Shortcut → Command/URL
Add the following Commands with their own hotkey:
Open Armoury Crate:
rog-control-center
Toggle Aura lighting:
asusctl aura -n
Change performance profile:
asusctl profile -n
4. Update Mirrors to Use the Fastest Server
Backup current mirrorlist:
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
Enable parallel downloads:
sudo nano /etc/pacman.conf
Set ParallelDownloads = 10
Install reflector:
sudo pacman -S reflector
Update mirrors:
sudo reflector --verbose --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
Restore backup if needed:
sudo cp /etc/pacman.d/mirrorlist.bak /etc/pacman.d/mirrorlist
6. Power Management
6.1 TLP
TLP is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details. TLP's default settings are already optimized for battery life and implement Powertop's recommendations out of the box, so additional configuration is not needed. Also, TLP is completely customizable, which means you can get even more power savings or meet your exact requirements.
Install TLP:
sudo pacman -S tlp
sudo systemctl enable tlp
sudo systemctl start tlp
6.2 Auto-CPUFreq
Automatic CPU speed & power optimizer for Linux. Actively monitors laptop battery state, CPU usage, CPU temperature, and system load, ultimately allowing you to improve battery life without making any compromises.
Using AUR:
yay -S auto-cpufreq
Manual Install:
git clone https://github.com/AdnanHodzic/auto-cpufreq.git && cd auto-cpufreq && sudo ./auto-cpufreq-installer
Last updated