this post was submitted on 28 Apr 2025
566 points (99.0% liked)
Linux
53656 readers
763 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Actually, there is one thing that is an annoyance that I haven't been able to resolve. I use dvorak as my main layout.
Sometimes games get the keyboard right and keys are remapped to qwerty layout (and typing still uses dvorak). This case works better than on windows, since playing a game there either required the game itself to recognize keyboard layouts (best case), or remapping the controls (annoying case), or switching to qwerty (frustrating for typing because I'm stronger with dvorak now).
But sometimes instead it does the opposite and remaps the qwerty bindings to dvorak. As in, even if I swap layouts, wasd are all over the keyboard instead of all together. I need to exit the game, swap layouts to qwerty on the desktop, then relaunch for controls to work properly (and then I can sometimes swap back to dvorak in game and they continue to work). Often, the next time I launch the game, I'll forget to switch it but it will just work this time.
And sometimes it behaves like windows did where I can swap the layout in game and keys change as you'd expect.
I have no idea why it's inconsistent between these three options or where the "preserve key location despite the layout" feature is even coming from. Anyone have any idea about this?
Hey, long-time Dvorak user here, almost as long as a Linux user.
When I start playing a new game, I usally just go with defaults. Some games (like all Valve games) do a good job of using keyscan codes for bindings and mapping them to the layout. If that's not the case the game is likely to be incorretly using the keyscan codes, or just using the OS's key events. If that's the case, I will just force qwerty with
setxkbmap us
and restart the game. After a few hours, I try to rebind keys for dvorak. Persoally, I like to change keyboardings to use Tribe's ESDF layout instead of WASD anyway.If you are using wayland for your display,
setxkbmap
is great since most games run in Xwayland mode, so native apps will still be in Dvorak.I don't really need to type much in games anyway now, so I don't mind keeping with qwerty bindings. I play Starcraft 2 this way.
The worst experience I can recall is Natural Selection 2, which its game engine refused to bind non-alphanumeric keys like ',' 😵💫.. But that was playing with Windows, would probably work with Linux if the game was still alive.
Is that method different from using the hot keys to swap layouts? Like can I tell it to always use that mapping for that game or do I need to remember to run it each time I play the game and then set it back after I'm done (or automate that)?
There are dozens of us! But yeah, same.