I have a illuminated keyboard that is triggered on/off by the scroll lock.
I will like to have the keys illuminated while xorg is running so that the leds will be on before I logging(gdm), and turned off when I shutdown the computer.
I made a systemd service, but isn't working:
[Unit] Description=led keyboard After=graphical.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/xset led 3 -d :0 ExecStop=/usr/bin/xset -led 3 -d :0 [Install] WantedBy=graphical.target
Ago 17 15:39:16 box xset: No protocol specified Ago 17 15:39:16 box xset: /usr/bin/xset: unable to open display ":0" Ago 17 15:39:16 box systemd: ledkeyboard.service: main process exited, code=exited, status=1/FAILURE Ago 17 15:39:16 box systemd: Failed to start led keyboard.
I can't get passe this, any help would be appreciated.
Last edited by azurit3 (2013-08-17 13:43:26)