Fix on-key RGB Keyboard Flicker on Acer Predator Triton 500 (Linux / Ubuntu 24.04) – A systemd + Python script to stop flickering and initialize RGB lighting via USB HID. Works on boot and resume. Tested on PT515-52.
This script fixes the keyboard flickering issue on the Acer Predator Triton 500 (PT515-52) when running Linux.
The fix sends a custom USB HID command to the RGB keyboard via pyusb and sets it to plain white.
It runs automatically on boot and after waking from suspend.
This repo supports full per-key RGB control on Predator laptops with individually addressable keys.
For 4-zone keyboards and Turbo button support, see the wonderfull JafarAkhondali's acer-predator-turbo-and-rgb-keyboard-linux-module.
The RGB keyboard on this laptop uses a per-key RGB which start in a chaotic blinking mode, which makes the laptop almost unsusable with background lighting on. It is also very unprofessional. This script sends a SET_REPORT command to reinitialize a stable static lighting configuration.
- only Python 3 with
pyusb(Python USB library) - systemd (used on most modern Linux systems)
Just run this one-liner (and enter the sudo password + enter):
wget -O - https://raw.githubusercontent.com/DoStraTech/Linux-Acer-Predator-Triton-500-Keyboard-RGB-Fix/main/install.sh | sudo bashIf you don't trust random scripts from internet that ask you to sudo... You can also install the fix manually by following these steps:
sudo apt-get update
sudo apt-get install -y git python3 python3-usbgit clone https://github.com/DoStraTech/Linux-Acer-Predator-Triton-500-Keyboard-RGB-Fix.git
cd Linux-Acer-Predator-Triton-500-Keyboard-RGB-Fixsudo cp fix_keyboard.py /usr/local/bin/fix_keyboard.py
sudo chmod +x /usr/local/bin/fix_keyboard.pysudo cp fix-keyboard.service /etc/systemd/system/fix-keyboard.servicesudo systemctl daemon-reload
sudo systemctl enable fix-keyboard.service
sudo systemctl start fix-keyboard.servicecd ..
rm -rf Linux-Acer-Predator-Triton-500-Keyboard-RGB-FixAfter installation, the RGB keyboard fix will be applied on boot and after resume from suspend.