Files
2026-07-20 09:23:17 -04:00

3.4 KiB

tags
tags
Desktop

https://wiki.archlinux.org/title/Asusctl#RGB/Keyboard_backlight asusctl

is a command-line utility designed for controlling ASUS ROG and TUF laptops on Linux, providing features like RGB keyboard backlight control. 

Controlling RGB with asusctl:

  • Toggling LED Modes: You can cycle through the available RGB lighting effects using the commands asusctl aura -n for the next mode and asusctl aura -p for the previous mode.
  • Setting a Specific Color (Potentially): One Reddit user mentions using asusctl rgb -c 4 to set the RGB color to a specific value, suggesting that asusctl might support assigning specific colors to RGB lighting.

STEPS TO INSTALL ASUSCTL ON LINUX MINT 22

    1. Download source code zip file from https://gitlab.com/asus-linux/asusctl/-/releases/6.0.12
    2. Extract the zip file into the respective folder
    3. Go to the unzipped folder

    Code: Select all

    cd asusctl-6.0.12
    
    1. Update repositories

    Code: Select all

    sudo apt update
    
    1. Upgrade packages if any

    Code: Select all

    sudo apt upgrade
    
    1. Install dependencies - can be installed via software manager and/or synaptic package manager

    Code: Select all

    sudo apt install gcc pkg-config openssl libasound2-dev cmake build-essential python3 libfreetype6-dev libexpat1-dev libxcb-composite0-dev libssl-dev libx11-dev libfontconfig1-dev curl libclang-dev libudev-dev checkinstall libseat-dev libinput-dev libxkbcommon-dev libgbm-dev
    
    1. Install npm - package manager for Node.js - can be installed via software manager or synaptic package manager

    Code: Select all

    sudo apt install npm
    
    1. Install the npm-run-all CLI tool, which allows you to run multiple npm scripts in sequential order while adding the third-party packages to the package's development dependencies

    Code: Select all

    npm i npm-run-all --save-dev
    
    1. Now install rust

    Code: Select all

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    

    Code: Select all

    source "$HOME/.cargo/env"
    
    1. Now compile asusctl and install - compiling takes time

    Code: Select all

    make
    

    Code: Select all

    sudo make install
    
    1. Start asusctl daemons or simply reboot

    Code: Select all

    systemctl daemon-reload && systemctl restart asusd
    
    1. Verify asusd service

    Code: Select all

    systemctl status asusd.service