Hi I bought a retro illuminated keyboard, when I fist plugged in to my Ubuntu system I just found out that the back light didn’t work. How to solve this ???
Add this code to you bash.rc to turn on the keboard light
xset led 3
Or you can use this script:
#!/bin/bash
sleep 1
xset led 3
xmodmap -e 'add mod3 = Scroll_Lock'
I saved it as /home/wife/scripts/backlight.sh (don’t forget to make it executable!).
Then I updated the .desktop file at /etc/xdg/autostart/backlight.desktop so that it runs the new shell script, like so:
[Desktop Entry]
Type=Application
Name=Devastator Backlight
Exec=/home/wife/scripts/backlight.sh
Icon=system-run
X-GNOME-Autostart-enabled=true
That’s it.