我在一台新电脑上安装了 Ubuntu 18.04华硕 ROG STRIX G531GT。我尝试关闭键盘背光,但是没有用。我也试过网上很多解决办法,但是都没有用:
echo 0 | sudo tee /sys/class/leds/asus::kbd_backlight/brightness
. 显示“/sys/class/leds/asus::kbd_backlight/brightness”:没有该文件或目录 0xset led off
.这也不起作用。我也尝试了 askubuntu 中给出的这些解决方案:关闭键盘背光,华硕笔记本电脑(Ubuntu 15.10)
- 我也试过https://github.com/wroberts/rogauracore,所有代码都成功运行,但是当我运行
sudo rogauracore static
它时显示rogauracore: command not found
任何帮助都值得感激。请帮忙
答案1
我在华硕 rog strix g 531gt 上遇到了同样的问题,一个星期都找不到解决办法,但最后这篇博文的相关部分开始rogauracore
工作了。
设置 RGB 键盘
如上所述,ASUS AURA 是一款基于 Windows 的应用程序,在 Linux 中运行起来有点棘手。不过,感谢 Will Roberts,他为 ROG 笔记本电脑开发了 AURA CORE 库。
git clone https://github.com/wroberts/rogauracore.gitcd rogauracore sudo apt install libusb-1.0-0 libusb-1.0-0-dev sudo apt install autoconfautoreconf -i ./configure make sudo make install # Shutdown and restart the system Rainbow sudo rogauracore rainbow # Usage: sudo rogauracore COMMAND ARGUMENTS # COMMAND should be one of: single_static single_breathing single_colorcycle multi_static multi_breathing red green blue yellow cyan magenta white black rainbow
希望它也适合你。
答案2
下载并解压到主文件夹后,运行以下命令:
cd rogauracore-retool
autoreconf -i
./configure
make
sudo make install
希望对你有帮助!!
控制方法:
Usage:
sudo rogauracore COMMAND ARGUMENTS
Supported commands and usage:
single_static COLOR
single_breathing COLOR1 [COLOR2] [SPEED]
single_pulsing COLOR SPEED
single_colorcycle SPEED
multi_static COLOR1 COLOR2 COLOR3 COLOR4
multi_breathing COLOR1 COLOR2 COLOR3 COLOR4 SPEED
rainbow [SPEED]
brightness BRIGHTNESS
red lime turquoise blue magenta hotPink
orange green cyan indigo pink white
yellow teal skyBlue violet deepPink black
COLOR argument(s) should be given as color names, or hex values like ff0000.
SPEED argument should be given as slow, medium, or fast, or integers 1 - 3.
BRIGHTNESS values should be given as off, low, medium, high, or integers 0 - 3.
如果你想关闭它:
sudo rogauracore brigtness 0