Skip to content

Instantly share code, notes, and snippets.

@ps1dr3x
Created October 26, 2018 17:44
Show Gist options
  • Save ps1dr3x/b15c62eafb388ddf8bb7d3896d1a1cee to your computer and use it in GitHub Desktop.
Save ps1dr3x/b15c62eafb388ddf8bb7d3896d1a1cee to your computer and use it in GitHub Desktop.
Turn on keyboard backlight/leds on wayland (xset led 3 alternative)
# "input0::scrolllock" might be different (?)
# On
sudo sh -c 'echo 1 > /sys/class/leds/input0::scrolllock/brightness'
# Off
# sudo sh -c 'echo 0 > /sys/class/leds/input0::scrolllock/brightness'
@MarceloMarot
Copy link

I've made a Systemd task to detect and force the LEDs to turn on periodically.
There's the repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment