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. | |
11 | #setxkbmap -layout us,ru,el -variant ',phonetic_winkeys,' -option '' | |
12 | #setxkbmap -layout us,ru,el -variant ',phonetic_winkeys,' -option grp:ctrls_toggle | |
13 | setxkbmap -layout us,ru -variant ',phonetic_winkeys' -option '' | |
14 | setxkbmap -layout us,ru -variant ',phonetic_winkeys' -option grp:ctrls_toggle | |
15 | ||
16 | #xmodmap -e 'remove lock = Caps_Lock' | |
17 | #setxkbmap -option ctrl:nocaps | |
18 | ||
19 | setxkbmap -option caps:ctrl_modifier |