I have problem with key shortcut. My laptop (HP Elitebook 8460p) have Ambient Light Sensor, but only way to activate it is typing in console (as root, sudo didn’t work)
echo 1 > /sys/devices/platform/hp-wmi/als
echo 0 > /sys/devices/platform/hp-wmi/als
How can i put this two commands in fn+ F11 key shortcut?
Thanks for help!