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
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