Gnome3, Unity, Mac OS X and Windows default to using "Super+Space" (aka win+space,logo+space, etc) combination to switch keyboard layouts.
I've tried to get "Super+Space" key to work with xkeyboard-config and it doesn't appear to work. (Such that the key-combination to change layouts is consistent everywhere)
xkeyboard-config manpage only offers:
grp:lwin_toggle Left Win
grp:rwin_toggle Right Win
But ideally it is desired to also offer following options:
grp:lwin_space_toggle Left Win + Space
grp:rwin_space_toggle Right Win + Space
Bruteforcing / setting above by chance did not work =)
Can those two options be added?
Created attachment 98299 [details] [review]
add grp:win_space_toggle to allow meta keys to switch keyboard layout
I've attached my patch. But I have no clue about xkb-data, so I don't know if it's correct or not. Could this be reviewed?
Dimitri, would you be able to confirm this patch is ok for you?
(In reply to comment #2)
> Dimitri, would you be able to confirm this patch is ok for you?
Yes, the proposed patch works great for my use cases.
fine, thanks, committed to git.
Created attachment 98456 [details] [review]
Missing PC_SUPER_LEVEL2 definition.
It looks like the PC_SUPER_LEVEL2 definition is missing from the commit, I've attached it as diff.
right, thank you!