3.4 KiB
3.4 KiB
tags
| tags | |
|---|---|
|
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 -nfor the next mode andasusctl aura -pfor the previous mode. - Setting a Specific Color (Potentially): One Reddit user mentions using
asusctl rgb -c 4to set the RGB color to a specific value, suggesting thatasusctlmight support assigning specific colors to RGB lighting.
STEPS TO INSTALL ASUSCTL ON LINUX MINT 22
-
- Download source code zip file from https://gitlab.com/asus-linux/asusctl/-/releases/6.0.12
- Extract the zip file into the respective folder
- Go to the unzipped folder
Code: Select all
cd asusctl-6.0.12- Update repositories
Code: Select all
sudo apt update- Upgrade packages if any
Code: Select all
sudo apt upgrade- 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- Install npm - package manager for Node.js - can be installed via software manager or synaptic package manager
Code: Select all
sudo apt install npm- 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- Now install rust
Code: Select all
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shCode: Select all
source "$HOME/.cargo/env"- Now compile asusctl and install - compiling takes time
Code: Select all
makeCode: Select all
sudo make install- Start asusctl daemons or simply reboot
Code: Select all
systemctl daemon-reload && systemctl restart asusd- Verify asusd service
Code: Select all
systemctl status asusd.service