.xmodmaprc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 01 Jan 2024 20:53:49 +0200
changeset 1039 78cdb4a057e3
parent 822 7621d94eba35
permissions -rw-r--r--
Create symlink from ~/.bash_profile for login shell to activate my ~/.bashrc.
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
822
7621d94eba35 Use extra key on Logitec as Mode_switch.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 821
diff changeset
    15
! keycode 66 = Caps_Lock
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
    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
822
7621d94eba35 Use extra key on Logitec as Mode_switch.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 821
diff changeset
    19
keycode 94 = Mode_switch