summaryrefslogblamecommitdiffstats
path: root/Xmodmap
blob: 82252712b980de13c06fba1bd01a749ac0775f18 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
             


             

                      



                          

                                                                          
                     


                                                                              


                                    





                                                                         












                                         
! reset state
clear control
clear mod1
clear mod4

! swap alt and control
keycode 37 = Alt_L Meta_L
keycode 64 = Control_L
keycode 105 = Alt_R Meta_R
keycode 108 = Control_R

! map prtsc to super, because the thinkpad layout puts it in that location
keycode 107 = Super_R

! set the values for control, mod1 (meta), and mod4 (super) now that they have
! been assigned to keycodes
add control = Control_L Control_R
add mod1 = Alt_L Alt_R Meta_L Meta_R
add mod4 = Super_L Super_R

! map home and end to insert, because the thinkpad layout puts them where
! insert should be
keycode 110 = Insert
keycode 115 = Insert

! use media keys instead of function keys
keycode 67 = XF86AudioMute
keycode 68 = XF86AudioLowerVolume
keycode 69 = XF86AudioRaiseVolume
keycode 70 = XF86AudioMicMute
keycode 71 = XF86MonBrightnessDown
keycode 72 = XF86MonBrightnessUp
keycode 73 = XF86Display
keycode 74 = XF86WLAN
keycode 75 = XF86Tools
keycode 76 = XF86Search
keycode 95 = XF86LaunchA
keycode 96 = XF86Explorer