On Sun, Feb 09, 2014 at 11:54:47PM -0800, Victor Soich wrote:
> victor@claudius:~$ cat .xmodmap
> !
> ! Swap Caps_Lock and Control_L
> !
> remove Lock = Caps_Lock
> remove Control = Control_L
> keysym Control_L = Caps_Lock
> keysym Caps_Lock = Control_L
> add Lock = Caps_Lock
> add Control = Control_L
> victor@claudius:~$ cat .bash_profile
> xmodmap ~/.xmodmap

Your .xmodmap looks correct.  I don't think you want to be loading it
from ~/.bash_profile, though.  You only want it to run once, when you
start a new X session (i.e., login to your desktop).  In the old days,
that meant adding "xmodmap ~/.xmodmap" to your ~/.Xsession file.  But
those fancy-shmancy integrated desktop environments everybody likes so
much these days (GNOME, KDE, XFCE, etc.) often have their own way of
enabling users to run command lines automatically when they log in.
Creating an ~/.Xsession file may break things (temporarily).  It'd be
best for you to determine exactly what desktop environment you're
using before proceeding.


--
Paul
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to