keyboard - command not running in etc/rc.local ubuntu -
keyboard - command not running in etc/rc.local ubuntu -
here entire rc.local file
#!/bin/sh -e # # rc.local # # script executed @ end of each multiuser runlevel. # create sure script "exit 0" on success or other # value on error. # # in order enable or disable script alter execution # bits. # # default script nothing. cd ~/xcape && ./xcape -e 'control_l=escape' exit 0 in ubuntu, need run ./xcape -e 'control_l=escape' within xcape directory in order create caps lock work esc key when pressed itself, , command when held down.
i need run command every time start computer, annoying, read through things run command automatically @ startup , sources said execute commands above exit 0 is, , have absolute paths. when turn off computer , turn on, doesn't work , caps lock key acts control, not escape should. that's why i'm coming conclusion command not beingness run. should do?
a bit aged, in case, seek adding total path command, ~ won't expanded ./ won't work. like
#!/bin/sh -e # # rc.local # # script executed @ end of each multiuser runlevel. # create sure script "exit 0" on success or other # value on error. # # in order enable or disable script alter execution # bits. # # default script nothing. /home/<user>/xcape -e 'control_l=escape' exit 0 where <user> username. check /etc/rc.local executable chmod +x /etc/rc.local
ubuntu keyboard startup boot rc
Comments
Post a Comment