I also tried modifying /etc/rc.local directly and
adding the script to Startup Applications as well but with no luck.
When i run it myself it works fine. I am using the latest LMDE version on a laptop with external usb keyboard. (nothing changes to the laptop keyboard either).
Any ideas? Here's the script
*UPDATE* : I Found the solution seconds after posting this... Its a simple option on the keyboard preferences... Although it still bugs me why the script didn't autorun. Any suggestions are welcome.
Code: Select all
### BEGIN INIT INFO
# Provides: set_caps_ctrl
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "keysym Caps_Lock = Control_L"
xmodmap -e "add Control = Control_L"