Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36162

how to switch the caps lock and left ctrl when start

$
0
0
Hi, all

I'm gonna switch these two keys. the caps lock and left ctrl.
And I was told to use command xmodmap. I got the following code in man page.

It works.

But my question is how to enable this when fedora 18 startup.
create something like server? Or add to somewhere in /etc/rc.local like RHEL?
Or any other better methods to remap these 2 keys?


==============================
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
!
==============================
thanks

Viewing all articles
Browse latest Browse all 36162

Trending Articles