Actually my problem is same with this How to disable a keyboard key in Linux (Ubuntu)?
But I want to disable this corrupted key( keycode is 135) on startup.
xmodmap -e 'keycode 135= NoSymbol'
Although I tried a lot of methods, I could not run the above command on startup.
I tried these methods;
I added the above command into
/etc/rc.localbut it doesn't work!I created a bash script and then I moved my script into
/etc/init.d/and I enabled it on startup with this commandupdate-rc.d disablekey.sh enablebut it doesn't work!I found a service postgresql in
/etc/init.d/and I added thisxmodmap -e 'keycode 135= NoSymbol'command in postgresql service and then I run this commandupdate-rc.d postgresql enableWhen I rebooted my computer. The postgresql service runs okay but my corrupted key still works.
any suggestions?