mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.5k stars 370 forks source link

Disable system keyboard repeat for the running window #522

Open ReallyWeirdCat opened 5 months ago

ReallyWeirdCat commented 5 months ago

When a key is held, keyboard repeat on the host system is passed to the running window, which causes problems in games and audio editing programs. I'd want an option to disable this, but currently the only workaround I found is to temporarily disable keyboard repeat on the host system. Running EndeavourOS with X11 KDE Plasma if relevant.

mviereck commented 3 months ago

The kbdrate command might help. Try something like --runfromhost 'kbdrate --rate=0'