I'm having the hardest time trying to understand how xmodmap works. I want to remap the Caps Lock key to Control.In an attempt to emaulate the answers shown here, I created the file .xmodmaprc:clear Lockkeycode 65 = Control_L # I got the value 65 from running xev and pressing the key.Then I added the following to .kshrc:export XMODMAPRC=/Home/username/.xmodmaprc[ -f $XMODMAPRC ] && echo OK && xmodmap $XMODMAPRCWhen I launch a new xterm, I can see the OK printed at login, but the key is still behaving as a Caps Lock!How can I make this work?I work on Solaris 10 and I don't have root access.
Remap Caps_Lock to Control in Solaris
x11;solaris;xmodmap