.xmodmaprc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 26 Sep 2012 11:26:59 +0300
changeset 566 4c8b7a98a285
parent 433 93d05f55825a
child 820 6ec465d43861
permissions -rw-r--r--
Delete CapsLock (map to Ctrl).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
433
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
! To load this config run:
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
!   $ xmodmap .xmodmaprc
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
! Win key.
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
clear mod3
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
clear mod4
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
keycode 133 = Super_L
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
! keycode 134 = Multi_key
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
! keycode 134 = Super_R
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
keycode 134 = Hyper_R
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
add mod3 = Super_L
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
add mod4 = Hyper_R
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
566
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    15
! Delete CapsLock (map to Ctrl).
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    16
remove Lock = Caps_Lock
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    17
keysym Caps_Lock = Control_L
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    18
add Control = Control_L
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    19
add Control = Caps_Lock
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    20