- 8.8.09 20:34
-
lietot Apple aluminum keyboard:
System / Preferences / Layouts / Keyboard model: Macintosh
+ Layout options / Misc. comp. options:
[x] Default numeric keypad keys
[x] Numeric keypad keys work as with Mac
izlabot Fkeys mode: /etc/rc.local:# apple keyboard Fkeys (don't fail if not connected)
echo 2 > /sys/module/hid_apple/parameters/fnmode || true
taustiņu izvietojums: ~/.Xmodmap:
--- cut ---
--- cut ---
! Configure F13 as Insert key, F14 as PrintScr, F15 as ScrollLock
! and F16 as Pause/Break.
keycode 191 = Insert
keycode 192 = Print Sys_Req
keycode 193 = Scroll_Lock
keycode 194 = Pause Break
keycode 195 = XF86AudioMute
keycode 196 = XF86AudioPrev
keycode 197 = XF86AudioNext
! Swap Alt and Cmd keys.
keycode 37 = Control_L
keycode 133 = Alt_L Meta_L
keycode 64 = Super_L
keycode 108 = Super_R
keycode 134 = ISO_Level3_Shift Multi_key
keycode 105 = Control_R Multi_key
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Shift = Shift_L Shift_R
add Lock = Caps_Lock
add Control = Control_L Control_R
add Mod1 = Alt_L 0x007D
add Mod2 = Num_Lock
add Mod4 = Super_L Super_R
add Mod5 = Mode_switch ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
! Configure '=' key on numpad as '='.
keycode 0x7D = equal