My OS is archlinux amd64, Gnome ENV.
I want to map the Caps Lock key to escape key in archlinux. I run the command:
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
It works well. but a moment later, the Caps Lock key works again. And I must to run the command again.
I'm pretty sure that this solution works well maybe a year agao. Waht's problem with me? Have anyone can help me to map the Caps Lock key to Escape key forever in my archlinux os?