Skip to content

Instantly share code, notes, and snippets.

Created May 25, 2016 06:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/01b6c5f8c70dded0f85cecf87af5b174 to your computer and use it in GitHub Desktop.
Force keyboard backlight to stay turned off on an ASUS laptop with a check status every 5 seconds.
#!/bin/bash
while true
do echo 0 > /sys/class/leds/asus\:\:kbd_backlight/brightness
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment