I have 2 layouts and I want to change current layout to one of them (us in my case) from bash script in Qubes OS.
I want toggle current (active) layout, not affecting the number of layouts or other setxkbmap settings.
How to do it properly?
I have 2 layouts and I want to change current layout to one of them (us in my case) from bash script in Qubes OS.
I want toggle current (active) layout, not affecting the number of layouts or other setxkbmap settings.
How to do it properly?
OK. I have a solution:
xkb-switch tool:sudo qubes-dom0-update xkb-switch
xkb-switch -s LAYOUTman xkb-switch.I was not able to do it without external tool in Qubes OS.
Because I only found a trick with setxkbmap, that just removes all other layouts except one and setting configuration back, but it is not what I want.
xkb-switch seems to be solving case.