14.04 - Disable keyboard on start up - Ask Ubuntu


i'm running ubuntu 14.04 on laptop. have script placed on /etc/init.d disable it:

#!/bin/bash # device id of synaptics touchpad id=$(xinput list --id-only 'at translated set 2 keyboard')  xinput float $id 

it works fine, need run before login screen appears, i've made:

ln -s /etc/init.d/disablekeyboard.sh /etc/rc3.d/s99disablekeyboard.sh 

but doesn't work, know why it's not running during boot?

thanks.

to run script @ startup, before login, edit /etc/rc.local , add commands.

just add line:

/etc/init.d/disablekeyboard.sh 

one line above line:

exit 0 

# script executed @ end of each multiuser runlevel. # make sure script "exit 0" on success or other # value on error.  # in order enable or disable script change execution bits. 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User