Debian and Derivatives
Setup (Debian)
Post-Installation Configuration for Debian-Based Systems
Note: Debian and its derivatives (Ubuntu, Mint, Pop! OS, etc.) are considered unsupported on the official Asus Linux site. Software such as asusctl and supergfxctl must be compiled from source. Fedora is the recommended distribution for full support. If you still wish to proceed with Debian, follow this guide carefully. Some features may not function as expected.
2. Driver Installation
By default, most drivers (e.g., for Intel, AMD, and other hardware) are included in the Linux kernel. However, Nvidia dGPU drivers must be installed separately.
Debian users: Follow the Debian Nvidia Guide.
Ubuntu/Mint/Pop!_OS users: Use the built-in Driver Manager or Software & Updates > Additional Drivers. Ensure that proprietary drivers (not Nouveau) are selected.
Important: Set GPU mode to *Hybrid* or *Ultimate* in the Windows or through supergfxctl, or the Driver installer might not detect the GPU.
Pop!_OS: Offers a dedicated Nvidia ISO. If you have an Nvidia GPU, this is the recommended option.
3. Flatpak Installation (Ubuntu Only)
Most Debian-based distributions ship with Flatpak, but Ubuntu defaults to Snap. To install Flatpak on Ubuntu:
sudo apt install flatpak
sudo apt install gnome-software-plugin-flatpak
Then, add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
4. Asus Software Installation (Manual Compilation)
Note: These tools need to be built from source. Follow steps carefully.
4.1 Install Build Dependencies**
Install required development tools and libraries:
sudo apt install -y build-essential git cmake pkg-config libpci-dev libsysfs-dev libudev-dev \
libboost-dev libgtk-3-dev libglib2.0-dev libseat-dev
Install Rust (Cargo):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Configure the environment:
. "$HOME/.cargo/env"
4.2 Installing asusctl
asusctl
Clone the repository or download the latest release.
Extract it and open a terminal inside the
asusctl
folder.Run:
make && sudo make install
4.3 Installing supergfxctl
supergfxctl
Clone the repository:
git clone https://gitlab.com/asus-linux/supergfxctl.git
cd supergfxctl
Build and install:
make && sudo make install
Enable and start the service:
sudo systemctl enable supergfxd
sudo systemctl start supergfxd
4.4 Optional GUI Support
GNOME: Install the
supergfxctl-gex
extension.Other DEs (e.g., Cinnamon, MATE,XFCE): Use CLI commands.
4.5 Switching GPU Modes via CLI
supergfxctl --mode Integrated # Use integrated GPU only
supergfxctl --mode Hybrid # Use both integrated and discrete GPU
supergfxctl --mode AsusMuxDgpu # Use discrete GPU only
To check available options:
supergfxctl --help
5. Fixing Hotkeys
5.1 GNOME
Go to Settings > Keyboard > Keyboard Shortcuts
Click “+” to add a new shortcut
5.2 KDE
Go to System Settings > Shortcuts > Custom Shortcuts
Create a new Global Shortcut → Command/URL
Enter a name, press the desired key (e.g., Fn+F4), and set one of the following commands:
Armoury Crate:
rog-control-center
Aura Mode:
asusctl aura -n
Performance Mode:
asusctl profile -n
Step 6: Power Management
If you notice that your battery life on Linux is significantly shorter compared to Windows, you may benefit from additional power management tools. Two of the most commonly recommended options are TLP and CPU AutoFreq. These tools help optimize power usage, particularly on laptops, by dynamically adjusting CPU frequencies and managing various power-related settings.
**Important**: Only install **one** of these tools. Running both simultaneously can cause conflicts and lead to unexpected behavior.
6.1 TLP
TLP is a feature-rich command-line utility for Linux that helps extend battery life without requiring manual tuning. Its default configuration is already optimized and implements many of Powertop’s recommendations.
Install TLP:
sudo apt install tlp
Enable TLP:
sudo systemctl enable tlp
sudo systemctl start tlp
6.2 CPU AutoFreq
CPU AutoFreq is a real-time CPU frequency and power optimizer. It monitors your system load, battery level, and temperature to dynamically manage CPU scaling for better battery life.
Manual Install:
git clone https://github.com/AdnanHodzic/auto-cpufreq.git && cd auto-cpufreq && sudo ./auto-cpufreq-installer
Step 7: Create a Backup
1. System Settings Backup with Timeshift
Timeshift is a powerful Linux backup tool that functions similarly to System Restore on Windows or Time Machine on macOS. It protects your system by creating incremental snapshots of your file system at regular intervals. These snapshots allow you to restore your system to a previous state, undoing any system changes or issues.
Installation:
sudo apt install timeshift
How to Use Timeshift:
Select Snapshot Type: Choose between RSYNC and BTRFS based on your file system.
Choose Snapshot Location: Select the disk or partition where snapshots will be saved.
Configure Snapshot Schedule: Enable periodic snapshots if desired and select a snapshot frequency (daily, weekly, or on boot).
Create a Snapshot: Click Create to manually create a snapshot at any time.
Restore a Snapshot: To undo system changes, select a previous snapshot and click Restore.
Restoring a Broken System Using Timeshift:
Boot from a Linux ISO with Timeshift installed.
Select the same snapshot type (BTRFS or RSYNC) as used before.
Choose the location where your backup is stored.
Select the desired backup from the list shown.
Click Restore to revert your system to the previous working state.
Timeshift does not back up personal user files such as documents, pictures, or downloads. It focuses exclusively on system files and settings.
2.Backup Personal Files with Pika Backup
Pika Backup is a user-friendly tool designed for personal data backup. It leverages the BorgBackup engine for secure and efficient backups. Note that Pika Backup does not support full system restoration.
Installation
Install Pika Backup via Flatpak:
flatpak install flathub org.gnome.World.PikaBackup
Creating a Backup
Open Pika Backup
Select Storage Location: Choose a USB drive or external disk for storing backups. Using a USB drive is recommended.
Enable Encryption: Choose to encrypt your backups if you want added security.
Create the Backup: Click on " Backup Now" to create a backup.
Restoring Files from a Backup
Go to the Archives Tab in Pika Backup.
Select the Preferred Backup you want to restore.
Click the Drop-down Arrow next to the archive entry.
Choose "Browse Saved Files".
A file browser will open showing the backed-up contents.
Manually Copy the desired files or folders to your main directory or another location.
Step 9: Install Essential Software (Optional)
Install the software you need for your workflow. Below is a list of apps I typically install along with a brief description of what each does. You can install these either via the terminal or using Flatpak, but I recommend using the terminal for simplicity and speed.
sudo apt install <package name> # To install a software.
sudo apt remove <package name > # To uninstall a software.
gedit - Simple text editor for GNOME.
VLC - Plays almost all media formats.
htop - Terminal system monitor.
GIMP - Powerful image editor(Photoshop alternative).
LibreOffice / OnlyOffice - Office suites for documents.
GParted - Tool to manage disk partitions.
VSCodium - VS Code without telemetry.
Obsidian - Markdown note-taking app.
KDE Connect - Phone integration with your PC.
Spotify - Music streaming player.
OBS Studio - Screen recording and streaming software.
OpenRGB - Control RGB lighting without vendor software.
OpenRazer - Linux driver for Razer device lighting control.
Last updated