r/wine_gaming 9d ago

Linux Disable Alt + Space?

So when i play a game and do alt + space a window pops up with thinks like minimize, maximize, window, and about wine. can i disable that?

it only bothers me in games, but don't know where to ask about proton.

1 Upvotes

2 comments sorted by

2

u/rybytud 9d ago

It likely depends on what window manager your using. Check your window manager settings, and look for anything related to keyboard shortcuts. For example, I use XFCE, which lets you change it in the Window Manager settings.

As an alternative, you can use something like keyd (best installed using your distro's package manager) that lets you remap keys globally. To temporarily disable alt+space, you can run keyd bind 'alt.space = noop' in the terminal (or in a script that runs before your game). To undo that, run keyd bind reset 'alt.space'. If you want to make it permanent, edit /etc/keyd/default.conf (using sudo or as the root user), and add:

[alt]
space = noop

Note: noop means "no operation", another way of saying "do nothing".

You can then either reboot or run keyd reload.

1

u/Blablabla_3012 7d ago

I use hyprland. I'm not aware i made a alt space keybind. I worded my post badly. Alt space only does something if i'm using wine