Startup applications in LXDE: caps lock as control

Linux
Author

Vinh Nguyen

Published

March 15, 2012

I just installed Linux Mint on my Asus T101MT. As with all my computers, I prefer to have the caps lock key as a control key. Of these methods, only the xkb command works. To have the key remapped every session, I followed these instructions and created the file ~/.config/autostart/nocaps.desktop:

[Desktop Entry]
Encoding=UTF-8
Name=nocaps
Comment=Remap caps lock as control.
Exec=setxkbmap -option ctrl:nocaps
Terminal=true