1. 程式人生 > >linux按鍵映射

linux按鍵映射

key mode keycode sym add mod nbsp dma linux

.Xmodmap

 1 keycode 135 = Mode_switch
 2 keysym k = k K Left
 3 keysym j = j J Down
 4 keysym l = l L Right
 5 keysym h = h H Up
 6 
 7 remove Lock = Caps_Lock
 8 remove Control = Control_R
 9 keysym Control_R = Caps_Lock
10 keysym Caps_Lock = Control_R
11 add Lock = Caps_Lock
12 add Control = Control_R
exec xmodmap ~/.Xmodmap

linux按鍵映射