I am running Ubuntu 16.04 on a Sony Vaio laptop, which features a keyboard backlight. I can enter this command into the terminal, putting a "0" in place of *value*
to turn the backlight off, and a "2" to turn it on.
sudo su -c "echo *value* > /sys/devices/platform/sony-laptop/kbd_backlight"
When I went to the settings app to create a custom keyboard shortcut and bind it to a simple ctrl keybinding, it doesn't work.
sudo
. You could trygksudo
. – TheWanderer Sep 07 '16 at 02:20