I used to use setxkbmap
this way:
setxkbmap -layout us,se -variant ,kinesis -option 'grp:alt_shift_toggle'
and be happy with it.
The layout swap used to happen at the release of alt_shift
, only if no other key was pressed between the combo's press and release. This behavior was very useful, because it allowed me to e.g. M-<
and M->
in emacs without switching layout.
Now the switch occurs at pressing alt_shift
, and M-<
never works in emacs (it doesn't, whatever the layout I start with).
I don't know what I did to change that behavior. The only thing I can recall is installing the Vertex theme for gnome, but surely it can't...?
Edit: other shortcuts became useless. alt+shift+d
doesn't work in Chrome anymore.