!! ~/.Xmodmap
!!
!! Use this as a template for $HOME/.Xmodmap
!!
!! The leading `!' is the comment sign.
!!
!! Please note: the natural way to assign keys are their keycodes.
!! The only problem is, that keycodes do depend on the architecture,
!! therefore keysymbols are used herein.  This has the disadvantage
!! that this file can only be called once with the program xmodmap.
!! To get keycodes of the keys use the program xev.
!! The system Xmodmap is /usr/X11R6/lib/X11/Xmodmap, have a look.

!! First example: Swap control key with caps lock key just like on
!! lk401 from DEC or type 4 from Sun Microsystems
!remove Lock      = Caps_Lock
!remove Control   = Control_L
!keysym Caps_Lock = Control_L
!keysym Control_L = Caps_Lock
!add    Lock      = Caps_Lock
!add    Control   = Control_L

!! Second example: Make left Alt key to left Meta key
!! Note that afterwards no key is assigned anymore to the symbol Alt_L.
!clear  Mod1
!keysym Alt_L = Meta_L
!add    Mod1  = Meta_L

!! Third example: Change right Control key to Compose key.
!! To do Compose Character, press this key and afterwards two
!! characters (e.g. `a' and `^' to get ).
!remove  Control  = Control_R
!keysym Control_R = Multi_key
!add     Control  = Control_R

!! Fourth example: Make Menu key on WIN95 keyboard doing Compose
!keysym Menu = Multi_key

! Map the Chrombook function keys
keycode 67 = XF86Back F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = XF86Forward F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = XF86Refresh F3 F3 F3 F3 XF86Switch_VT_3
!keycode 70 =  F4 F4 XF86Switch_VT_4
keycode 71 = XF86Display F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = XF86MonBrightnessDown F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = XF86MonBrightnessUp F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = XF86AudioMute F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = XF86AudioLowerVolume F9 F9 F9 F9 XF86Switch_VT_9
keycode 76 = XF86AudioRaiseVolume F10 F10 F10 F10 XF86Switch_VT_10
!!
!! End of ~/.Xmodmap
