Stuck on a non-qwerty keyboard layout despite changing to qwerty (Linux, proton)

amenooto

New member
I use the Dvorak Programmer keyboard layout and upon loading into a game for the first time, I realize that the keyboard layout didn't automatically switch to qwerty for just this application, unlike in most other Steam games. So I change my keyboard layout to qwerty, and it's still stuck on Dvorak for just this application, which is very strange. I restarted the game, then Steam, and the game is still stuck on the Dvorak keyboard layout, despite being in qwerty. All other applications on my desktop are being typed in qwerty. It's almost as though the game or Proton (or something in between) remembers the keyboard layout that I used the first time when running the game, and won't update... I've yet to try restarting my system or reinstalling the game, so I'll update on that later, but restarting my system probably wont fix it (but reinstalling the game very likely will I think).

I am running Linux (Guix System), Wayland (Xwayland for Steam), Proton experimental.
 
This is a very easy and simple fix.

So first of all I dont know if you are on KDE or on Gnome but it doesnt matter because this fix is universal for wayland and x11.
Before you start you have to check if the Xwayland package has been updated if not you may or may not have to compile the package from source and add a few pull requests. First I would recommend pulling it from the official repo https://github.com/timon37/xwayland and afterwards you want to compile with -O3.

Afterwards you want to compile it and restart your system, make sure that on reboot you open up the bios menu. In the bios menu you want to make sure that usb 3.0 has been turned off. Also XMP may or may not impact your keyboard changing. You can probably start the game now but if it happens that your keyboard changes again you should try to plug it in a different port because linux sometimes associates keyboard profiles per port and because source 2 uses SDL there has been a few bugs regarding keyboard layouts on certain ports so that may help you.

Hopefully you can enjoy this video game at a high satisfication.
 
I think an easy fix may be just deleting the Proton Prefix for Deadlock, then verify the game files and launch it. The Prefix will be the directory /path/to/steam/install/steamapps/compatdata/1422450

EDIT: Maybe I shouldn't call it a fix, because the game should support your default key mappings. So let's just say it's a workaround to to get Proton to realize yo changes the mapping.
 
Back
Top