Skip to content

Instantly share code, notes, and snippets.

@hoenirvili
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoenirvili/9c8971d383ef8b56a474 to your computer and use it in GitHub Desktop.
Save hoenirvili/9c8971d383ef8b56a474 to your computer and use it in GitHub Desktop.
Toggle script to turn ON the backlight keyboard
# This conf file must be placed in /etc/xdg/autostart/
[Desktop Entry]
Type=Application
Name=Devastator Backlight
Exec=/path/to/backlight.sh
Icon=system-run
X-GNOME-Autostart-enabled=true
#!/bin/bash
sleep 1
xset led 3
xmodmap -e 'add mod3 = Scroll_Lock'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment