SteamOS
SteamOS copied to clipboard
Virtual & Physical Keyboard Does not Work For Typing While Playing Game
Your system information
- Steam client version: 1685488080
- SteamOS version: 3.4.8
- Opted into Steam client beta?: [Yes/No] No
- Opted into SteamOS beta?: [Yes/No] No
- Have you checked for updates in Settings > System?: [Yes/No] Yes
Please describe your issue in as much detail as possible:
Many Linux native games (Like hl2 or running source ports like gzdoom) have an issue where typing with a physical or the on-screen keyboard fails to work. For example, opening the console and trying to type with a keyboard fails, but the keyboard works to control the game. It seems there may be some issue with steam input interfering with normal keyboard operations. I had opened an issue in the hl2 repo, but this seems to be more widespread/steamos related.
Steps for reproducing this issue:
- Open a Linux native game like half-life 2
- Open the developer console
- Try to type with the on-screen keyboard or a virtual keyboard
could be related to:
https://github.com/ValveSoftware/SteamOS/issues/1027
In this case the keyboard is visible but does not work
This still happens on 3.5
Seeing the same issue. Mostly in non-steam games.
I'm having this issue using a native Linux build of GZDoom through Luxtorpeda. I can't write in the console and I can't name save games. Obviously other keys work, my controller scheme is Keyboard + Mouse based, but the moment a text input is activated it seems like none of the alphanumeric keys register?
I haven't checked in latest, but back in October this was my experience as well using an AppImage that launches the flatpak of GZDoom.
Re-tested with latest and this is still an issue.
I'm currently having this issue with Strife: Veteran Edition, you can't enter a file name and thus can't play the game
~~This could be related to #1039~~
Edit: it isn't
It doesn't apply only to zenity, also applies to in game typing as well
Hi, if it's a Flatpak app, can you try setting the environment variable SteamDeck=0
?
In Steam go to the game -> settings button -> Properties and in LAUNCH OPTIONS there should be something like:
"run" "--branch=stable" "--arch=x86_64" ...
Add the variable after "run"
so it looks like this:
"run" "--env=SteamDeck=0" "--branch=stable" "--arch=x86_64" ...
It works around the problem with GZDoom for me, but if you can verify this with other games I would also appreciate it.
Thanks!
Mine is an app image launcher that configures and launches the flatpak for gzdoom. I can see if I can configure the launcher itself to use the env var.
Confirmed with Portal 2 (in this case setting SteamDeck=0 %command%
in the launch options), so I suspect that it should also work with Half-Life 2.
I'm pretty sure that the problem is https://github.com/libsdl-org/SDL/issues/8561
This worked for me using the same target dir and starting dir as the app image I was already using.
#!/usr/bin/env bash
export SteamDeck=0
./<app-image-path> --no-sandbox
I'll give that a shot thanks, setting that env variable off has also helped for other issues, like openmw having really low framerate. Are there any sort of downsides to doing this?
Are there any sort of downsides to doing this?
I'm not sure how many other apps or libs are checking the SteamDeck
variable apart from libSDL. I would apply the changes locally to the games that are having problems while I wait for a fixed version of libSDL. If you ask in the libSDL issue they can probably give you more details, I'm not that familiar with how that library handles on-screen keyboards.
@bertogg can you link the libSDL issue? I'd like to add some color as well.
It's linked here:
Confirmed with Portal 2 (in this case setting
SteamDeck=0 %command%
in the launch options), so I suspect that it should also work with Half-Life 2.I'm pretty sure that the problem is libsdl-org/SDL#8561
FYI this problem has been fixed in libSDL 2.30.0, now it's just a matter of time before it reaches the Steam and Flatpak runtimes, etc.
I confirmed that the problem is solved with some of the games mentioned here but if anyone notices anything strange with those or other games please report it, thanks!