remap key #

gim@umac:~$ cat .xmodmappings 
! 
! clean most of the modifiers
clear control
clear mod4
clear mod1

! -----------------
! left side
! ----------------
! keycode 64 is the left alt key
keycode 64 = Super_L
! key code 133 is the left command key
keycode 133 = Alt_L Meta_L

! ------------------
! right side
! -------------------
! key code 134 is the right command key
keycode 134 = Alt_R Meta_R
! keycode 108 is the right alt key
keycode 108 = Control_R

add mod4 = Super_L
add mod1 = Alt_L Meta_L
add mod1 = Alt_R Meta_R
add control = Control_L
add control = Control_R


$ # 적용
$ xmodmap .xmodmappings
--> add to Startup Applications


fn key toggle #

echo 2 > /sys/module/hid_apple/parameters/fnmode
--> add into /etc/rc.local
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2014-10-08 18:14:45
Processing time 0.0049 sec