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

unable to use keyboard after starting .desktop with environment variable #53

Closed
pltrz opened this issue Oct 5, 2021 · 1 comment
Closed

Comments

@pltrz
Copy link

pltrz commented Oct 5, 2021

I use a window manager who's binary is called river. In order for me to also use an alternative keyboard layout, I configure this through the following environment variable, and immediately execute it:

env XKB_DEFAULT_LAYOUT="us(dvorak)" river

When I try to use this technique via emptty using the following river.desktop file, I am seemingly unable to activate any of my keys:

[Desktop Entry]
Name=River
Comment=A dynamic tiling Wayland compositor
Exec=env XKB_DEFAULT_LAYOUT="us(dvorak)" river
Type=Application
Environment=wayland

I am not sure which part of the stack is misconfigured.

@tvrzna
Copy link
Owner

tvrzna commented Oct 5, 2021

Can you, please, provide your /etc/emptty/conf, if there is something changed? Have you tried to echo (if possible) on your variable XKB_DEFAULT_LAYOUT? Check, if the quotes does not cause the issue.

And to be sure, I see that river uses wlroots, which should support XKB_DEFAULT_LAYOUT, but did it worked with different display manager (not just being started from TTY)?

@tvrzna tvrzna closed this as completed Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants