-
Notifications
You must be signed in to change notification settings - Fork 228
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
Import keyboard layout from parent session in nested mode #203
Comments
This is definitely something gamescope should do. We need to set the correct layout on the |
Workaround: |
not sure about create new issue, then i post here as i understand, by default gamescope doesn't import layout from main session |
I can confirm that this works for gamescope itself, but when using it to run Steam's "Big Picture" mode the latter crashes, which might be a common source of confusion given gamescope's heritage. I can not type "@" in the Big Picture login mask (on German keyboards "@" is produced by holding AltGr and pressing Q) regardless of wether gamescope is running or not. |
I had some success by using It might be my bias, but it seems to me that the compositor would benefit greatly from a configuration file. These are stuff that should be easily managed there. I would also like to be able to customize the key bindings. Alt+F4 is fine but I use something else in my Desktop Environment and would be nice to be able to change it somewhere. |
I just broke the boot of my Steam Deck :( Tested the following lines in
Luckily I have been able to boot from an old save, edit revert, and it boots again I was initially trying to find a solution on why the "fr" layout I set in Desktop mode is not preserved in gaming mode But is respected in gaming mode IN a open KDE session I can get my MX Key Mini bluetooth keyboard fr in desktop , fr in gaming mode, it is alwyas us in gaming mode :( I'd expected to fix it with the variables, but its crashes at boot |
Ok my mistake was to setup
instead of
This resulted in the following gamescope crash
I have the feeling nobody in here is concerned about the fact, that, defining an environment variable could result in a gamescope crash and so on, a Steam Deck failure to boot, it sounds critical to fix. |
Exiting with an error would be the expected behavior. |
There is no possibility to default to US and log a warning ? |
I tried on ADOM: still the keyboard is qwerty instead of qwertz ... |
I think you forgot to set |
Even my solution worked once i switched the steam language to german too ... |
But, hey, what if i type in something like Cyrillic, that means, i need possibility to change layout, not just set russian when start |
My launch parameters:
|
have you had any luck without changing the steam language? i've set up
in |
i didn't needed to switch back. i don't mind my client to be in german too but yeah it's only half of a solution |
👋 I have a related issue with the Has anyone experienced something similar or has any idea on how to debug this? |
Same here |
I had that issue with a Steam Linux native game "X4 Foundations" using gamescope under wayland. That workaround with "XKB_DEFAULT_LAYOUT=de" in the Steam Launch option for X4 did work. Thanks for that. I dunno if that matters on Proton games too? |
@Chris2000SP so you say if you launch Steam with XKB_DEFAULT_LAYOUT set, |
If i do not set this, use wayland and gamescope, i get "EN" querty layout in game. Here is what i set in X4 Foundations Launch Options: EDIT: |
This problem should be fixed after this commit makes its way downstream to you: #1009 |
On OpenSUSE adding a export_kb_layout.sh to /etc/profile.d/ with this content fixes the issue
|
I don't have a solution, but just adding another report of the issue. I am in hyprland and trying the solutions above to no avail. I am trying to set the equivalent of |
Few things to try, use double quotes to prevent : from being interpreted Else Try to add in
To note that based on ArchWiki, setxkbmap is not persistent for external keyboards except if you specify the keyboard device Id, so it is possible that you can do it with setkbdmap manually without a xinit like execution See Using setxkbmap |
Yeah, it seems that it doesn't work anymore with the version [EDIT] I was adding |
This is a big problem on the Steam Deck. When connecting a keyboard to the in Gamemode it will use US qwerty layout with no way of changing it in Gamemode. Works fine in Desktop mode |
Using Gamescope should really just import this from the wayland session or locale.conf |
Does anyone have an idea why gamescope doesn't systematically read my variables stored inside /etc/environment, or how that's possible?
That's the Steam launch options I usually use for games: edit: even |
I'm normally a dvorak user, but when I use Gamescope the layout remains qwerty.
The keyboard mapping and layout should be imported from the current de/wm to create a seamless experience. Is this something the project could handle or will I need to get used to gaming with qwerty?
I'm currently using Fedora 33 with Gnome, if that helps.
The text was updated successfully, but these errors were encountered: