Skip to content

Swapping caps lock and ctrl on Linux breaks using ctrl modifier as a keybind #6369

@saayre

Description

@saayre

What version did the issue occur in?

wizards/78189bb

Description

I use the "Swap Ctrl and Caps Lock" option from gnome-tweaks on my Linux machine to make Caps Lock on my keyboard behave as a Ctrl key for convenience. In the Options menu in SS14, I am able to set keybinds using the Ctrl modifier as expected (the keybinds show up in the Options screen), but in game the keybind doesn't function - neither the Caps Lock nor Ctrl key work. This is annoying since I've had to find replacement mappings for pulling & throwing objects and some text functions.

I will try to experiment with other ways to swap caps lock & ctrl keys in Linux to see if that resolves this issue, but this is the simplest way to do it and all other games/applications on my computer respect this setting.

Reproduction

  1. Run on Linux using the Gnome desktop (default on Ubuntu LTS 24.04)
  2. Install the gnome-tweaks package
  3. In gnome-tweaks, go to Keyboard > Additional Layout Options and turn on the "Swap Ctrl and Caps Lock" option:
Image
  1. Run SS14, connect to a server, and try to Pull an object with the default keybind of Ctrl + Left Click. Nothing happens.
  2. Type something in the chat box then try to use one of the commands (like Ctrl + Left Click) to select text
  3. Open the Options menu, change the keybind for one of your menus to use the Ctrl key, then confirm that no longer works in game:
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions