X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.xinitrc;h=4a1b23f6b801260d7d164e6f96c4b592be142258;hp=f3daa2a064bb00e71c8becb447e75ecada633089;hb=a34bfb1919bca15f01c6d52ccee09119edc3b7d4;hpb=92ac70ec51e51054b5af0250be30986b907e79b9 diff --git a/.xinitrc b/.xinitrc index f3daa2a..4a1b23f 100644 --- a/.xinitrc +++ b/.xinitrc @@ -40,9 +40,12 @@ fi # "$OPENWINHOME"/lib/openwin-init # Default OpenWindows tools #fi -# EN/RU, switch on RightAlt, Compose: RightControl, Level3:RightMenu +# EN/RU, switch on RightAlt and both Shifts, +# Compose: RightControl, Level3:RightMenu. setxkbmap -layout '' -variant '' -option '' -setxkbmap -layout 'us,ru' -variant ',common' -option 'grp:toggle,compose:rctrl,lv3:menu_switch' +setxkbmap -layout 'us,ru' -variant ',common' -option 'grp:toggle,grp:shifts_toggle,compose:rctrl,lv3:menu_switch' +# Terminate X session on Ctrl+Alt+Backspace +#setxkbmap -option terminate:ctrl_alt_bksp # adjust key bindings (if any) #[ -f "$HOME"/lib/X11/.Xmodmap ] && xmodmap "$HOME"/lib/X11/.Xmodmap