The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Keyboard layout change problem

asked 2013-03-15 17:44:34 +0000

hariskar gravatar image

I can not toggle keyboard layout English-Greek. I have tried in xinitrc

setxkbmap -option grp:switch,grp:alt_shift_toggle us,el

it works only with left alt_shift, both directions us>gr, gr>us, but breaks right Alt shortcuts

setxkbmap -option grp:switch,grp:lalt_shift_toggle,grp_led:scroll us,gr

does not work and breaks right Alt shortcuts

setxkbmap -option grp:switch,grp:Super_L_shift_toggle,grp_led:scroll us,gr

does not work and breaks right Alt shortcuts My mod is Mod1 So now I am doing it from console with setxkbmap us/gr Any solution? Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-04-23 11:06:23 +0000

Try to add these lines to your /etc/X11/xorg.conf and you don't need to use "setxkbmap"

Section "InputClass"
          Identifier "keyboard-all"
          Driver "evdev"
          Option "XkbLayout"    "us,gr"
          Option "XkbOptions"   "grp:alt_shift_toggle,grp_led:scroll"
          MatchIsKeyboard "on"
EndSection
edit flag offensive delete link more
0

answered 2013-04-22 18:07:08 +0000

matma6 gravatar image

I do it that way:

bindsym Ctrl+Shift+1 exec --no-startup-id setxkbmap us -variant colemak
bindsym Ctrl+Shift+2 exec --no-startup-id setxkbmap pl
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-03-15 17:44:34 +0000

Seen: 5,141 times

Last updated: Apr 23 '13