How can I configure xkb to switch layouts both ways?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
If I run setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle, I can switch from the AltGr-International layout to Colemak by pressing Alt+Space. But it doesn't work the other way around, i.e. I can't switch from Colemak to AltGr-International with Alt-Space. I've also tried running setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle,grp:alt_space_toggle, but that doesn't seem to work, either. How can I configure XKB so that Alt+Space works in both directions?
I'm on NixOS, if that makes any difference.
keyboard-layout xkb nixos
add a comment |Â
up vote
0
down vote
favorite
If I run setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle, I can switch from the AltGr-International layout to Colemak by pressing Alt+Space. But it doesn't work the other way around, i.e. I can't switch from Colemak to AltGr-International with Alt-Space. I've also tried running setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle,grp:alt_space_toggle, but that doesn't seem to work, either. How can I configure XKB so that Alt+Space works in both directions?
I'm on NixOS, if that makes any difference.
keyboard-layout xkb nixos
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
If I run setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle, I can switch from the AltGr-International layout to Colemak by pressing Alt+Space. But it doesn't work the other way around, i.e. I can't switch from Colemak to AltGr-International with Alt-Space. I've also tried running setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle,grp:alt_space_toggle, but that doesn't seem to work, either. How can I configure XKB so that Alt+Space works in both directions?
I'm on NixOS, if that makes any difference.
keyboard-layout xkb nixos
If I run setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle, I can switch from the AltGr-International layout to Colemak by pressing Alt+Space. But it doesn't work the other way around, i.e. I can't switch from Colemak to AltGr-International with Alt-Space. I've also tried running setxkbmap -layout us,us -variant altgr-intl,colemak -option grp:alt_space_toggle,grp:alt_space_toggle, but that doesn't seem to work, either. How can I configure XKB so that Alt+Space works in both directions?
I'm on NixOS, if that makes any difference.
keyboard-layout xkb nixos
keyboard-layout xkb nixos
asked Aug 31 at 1:13
Jon
2063624
2063624
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f465892%2fhow-can-i-configure-xkb-to-switch-layouts-both-ways%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password