How to swap Escape and Caps Lock?
Posted
by
pexeer
on Super User
See other posts from Super User
or by pexeer
Published on 2012-12-16T05:41:30Z
Indexed on
2012/12/16
17:08 UTC
Read the original article
Hit count: 219
I am using Archlinux. When I program , I like to swap the Escape and Caps Lock.
I know that gnome can do this job. But Gnome 3.6.2 in the Archlinux can not find this.
So i use the xmodmap and create a file : ~/.xmodmap
clear Lock
keysym Caps_Lock = Escape
keysym Escape = Caps_Lock
add Lock = Caps_Lock
when i run:
xmodmap ~/.xmodmap
it works well.
But it can not work automatic when i login the gnome, even though i add xmodmap ~/.xmodmap
to ~/.xprofile
.
Am I doing something wrong ? How can I solve this issue?
© Super User or respective owner