Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change keyboard layout with shortcut #1326

Closed
JustinDroege opened this issue Oct 26, 2021 · 4 comments
Closed

Change keyboard layout with shortcut #1326

JustinDroege opened this issue Oct 26, 2021 · 4 comments

Comments

@JustinDroege
Copy link

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

@danknil
Copy link

danknil commented Oct 29, 2021

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

@LinArcX
Copy link

LinArcX commented Aug 15, 2022

Any news?

@Voklen
Copy link
Contributor

Voklen commented Oct 26, 2023

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

@ammen99
Copy link
Member

ammen99 commented Oct 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants