]> git.phdru.name Git - dotfiles.git/blobdiff - lib/X11/.Xmodmap
.Xmodmap: Map keypad keys
[dotfiles.git] / lib / X11 / .Xmodmap
index 0270549b978df1ab166ca29424d2bb61573e3788..24169440f3d02bbfbef47457f434fd03ede34b22 100644 (file)
@@ -5,16 +5,6 @@
 !clear mod3
 !clear mod4
 
-!       Key       Base            Shift           Caps    ShiftCaps
-!------------------------------------------------------------------------
-!keycode 113     = Alt_R
-
-! Disable RightWin
-keycode 94     =
-
-! RightMenu = Compose
-keycode 117     = Multi_key
-
 !add shift   = Shift_L Shift_R
 !add control = Control_L Control_R
 !add mod1    = Alt_L Alt_R
@@ -26,6 +16,27 @@ keycode 117     = Multi_key
 !clear mod5
 !add mod5 = Caps_Lock Mode_switch
 
+!       Key       Base            Shift           Caps    ShiftCaps
+!------------------------------------------------------------------------
+!keycode 113     = Alt_R
+
+! Map keypad keys, esp. with Shift: my kbd returns digits
+keycode 79 = KP_Home KP_Home KP_Home
+keycode 80 = KP_Up KP_Up KP_Up
+keycode 81 = KP_Prior KP_Prior KP_Prior
+keycode 83 = KP_Left KP_Left KP_Left
+keycode 85 = KP_Right KP_Right KP_Right
+keycode 87 = KP_End KP_End KP_End
+keycode 88 = KP_Down KP_Down KP_Down
+keycode 89 = KP_Next KP_Next KP_Next
+keycode 90 = Insert Insert Insert
+keycode 91 = Delete Delete Delete
+
+! Disable RightWin
+!keycode 94     =
+
+! RightCtrl = Compose
+!keycode 105     = Multi_key
 
 !
 ! Some examples
@@ -41,10 +52,10 @@ keycode 117     = Multi_key
 ! add Lock = Caps_Lock
 ! add Control = Control_R
 
-!!!!! move around the escape key (PC only!)
-!!!!! `/~ key does Escape (shifted, ~)
-! keycode 49 = Escape asciitilde
-
 !!!!! make backspace be ` and ~
 ! keysym BackSpace = quoteleft asciitilde
 ! keycode 22 = quoteleft asciitilde
+
+!!!!! move around the escape key (PC only!)
+!!!!! `/~ key does Escape (shifted, ~)
+! keycode 49 = Escape asciitilde