Commit | Line | Data |
---|---|---|
d6c84e8b SK |
1 | #! /bin/sh |
2 | ||
3 | set -e | |
4 | ||
5 | #-- Keyboard layout | |
6 | # From setxkbmap man page: | |
7 | # > Note that setxkbmap adds options specified in the command line to the | |
8 | # > options that were set before (as saved in root window properā ties). | |
9 | # > If you want to replace all previously specified options, use the | |
10 | # > -option flag with an empty argument first. | |
778a3a00 SK |
11 | |
12 | # English, Russian, Greek | |
d6c84e8b SK |
13 | #setxkbmap -layout us,ru,el -variant ',phonetic_winkeys,' -option '' |
14 | #setxkbmap -layout us,ru,el -variant ',phonetic_winkeys,' -option grp:ctrls_toggle | |
778a3a00 SK |
15 | |
16 | # English, Russian | |
d6c84e8b SK |
17 | setxkbmap -layout us,ru -variant ',phonetic_winkeys' -option '' |
18 | setxkbmap -layout us,ru -variant ',phonetic_winkeys' -option grp:ctrls_toggle | |
19 | ||
20 | #xmodmap -e 'remove lock = Caps_Lock' | |
21 | #setxkbmap -option ctrl:nocaps | |
22 | ||
23 | setxkbmap -option caps:ctrl_modifier |