.xmodmaprc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Jan 2017 01:45:34 +0200
changeset 821 7bfa94a26cde
parent 820 6ec465d43861
child 822 7621d94eba35
permissions -rw-r--r--
Swap modifiers to previous assignment because I don't want to fix them in ~/.fvwm. Assign keycode to Caps_Lock before aliasing to LCtrl so ~/.xmodmaprc script can be re-evaluated without errors.
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
820
6ec465d43861 Cleanup code. Make possible to import settings several times without errors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 566
diff changeset
     4
keycode 133 = Super_L
6ec465d43861 Cleanup code. Make possible to import settings several times without errors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 566
diff changeset
     5
keycode 134 = Hyper_L
6ec465d43861 Cleanup code. Make possible to import settings several times without errors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 566
diff changeset
     6
! keycode 135 = Menu
433
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
clear mod3
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
clear mod4
821
7bfa94a26cde Swap modifiers to previous assignment because I don't want to fix them in
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 820
diff changeset
     9
add mod3 = Super_L
7bfa94a26cde Swap modifiers to previous assignment because I don't want to fix them in
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 820
diff changeset
    10
add mod4 = Hyper_L
433
93d05f55825a Add '.xmodmaprc'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
566
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    12
! Delete CapsLock (map to Ctrl).
820
6ec465d43861 Cleanup code. Make possible to import settings several times without errors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 566
diff changeset
    13
clear Lock
6ec465d43861 Cleanup code. Make possible to import settings several times without errors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 566
diff changeset
    14
clear Control
821
7bfa94a26cde Swap modifiers to previous assignment because I don't want to fix them in
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 820
diff changeset
    15
keycode 66 = Caps_Lock
7bfa94a26cde Swap modifiers to previous assignment because I don't want to fix them in
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 820
diff changeset
    16
keysym Caps_Lock = Control_L
7bfa94a26cde Swap modifiers to previous assignment because I don't want to fix them in
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 820
diff changeset
    17
add Control = Control_L Control_R
566
4c8b7a98a285 Delete CapsLock (map to Ctrl).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 433
diff changeset
    18