wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Change keyboard layout with shortcut

Open JustinDroege opened this issue 4 years ago • 2 comments

Maybe there is already a option for it, but is there any way to change the keyboard layout with a shortcut?

This would be a nice feature when this is not already in the current state

JustinDroege avatar Oct 26 '21 20:10 JustinDroege

There is XKB option setting for keyboard, setup guide https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Frequently_used_XKB_options

danknil avatar Oct 29 '21 16:10 danknil

Any news?

LinArcX avatar Aug 15 '22 09:08 LinArcX

This can be achieved by setting xkb_options the same way the layout and variants are set. So although I don't think it's necessary to add any new features for this, I think it could be beneficial to make it clear how to do this from the default wayfire.ini since this is an essential feature if you have multiple layout. Something like (of course commented out)

[input]
xkb_layout = us,fr
xkb_variant = dvorak,bepo
xkb_options = grp:win_space_toggle

and then in the wiki link to https://man.archlinux.org/man/xkeyboard-config.7#Switching_to_another_layout

Voklen avatar Oct 26 '23 09:10 Voklen

This can be achieved by setting xkb_options the same way the layout and variants are set

Yeah absolutely. Feel free to send a PR for the README :)

In the meantime, I am closing this issue, since there isn't much else to be done about it.

ammen99 avatar Oct 26 '23 11:10 ammen99