jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run *xmodmap
~/.speedswapper* in a terminal, I follow the guide and finally done! but
the bad thing is I have to run the command every time I reboot ubuntu!!
so any helps??
If it's a default Ubuntu install, meaning you're a Gnome user, name the
file .Xmodmap rather than .speedswapper. When you log in, it should
detect it automatically, and ask if you wish to use it.
You might also find that configuration option available in the Gnome
"Keyboard Properties" part of the system configuration menu, I'm not sure.