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](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](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    cd asusctl-6.0.12
    ```
    
    4. Update repositories
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    sudo apt update
    ```
    
    5. Upgrade packages if any
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    sudo apt upgrade
    ```
    
    6. Install dependencies - can be installed via software manager and/or synaptic package manager
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    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
    ```
    
    7. Install npm - package manager for Node.js - can be installed via software manager or synaptic package manager
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    sudo apt install npm
    ```
    
    8. 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](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    npm i npm-run-all --save-dev
    ```
    
    9. Now install rust
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    ```
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    source "$HOME/.cargo/env"
    ```
    
    10. Now compile asusctl and install - compiling takes time
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    make
    ```
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    sudo make install
    ```
    
    11. Start asusctl daemons or simply reboot
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    systemctl daemon-reload && systemctl restart asusd
    ```
    
    12. Verify asusd service
    
    Code: [Select all](https://forums.linuxmint.com/viewtopic.php?t=417178#)
    
    ```
    systemctl status asusd.service
    ```