[Linux] Key repeat problem
devel
Join Date: 2014-09-13 Member: 198444Members
When you hold a key to show the map, it constantly flashes.
Earlier (previous build and maybe with Ubuntu 14.04) there was a workaround by disabling 'Key repeat' in the desktop environment settings.
Now disabling 'Key repeat' doesn't fix the problem completely: the 'current position' arrow on the map stays big.
Earlier (previous build and maybe with Ubuntu 14.04) there was a workaround by disabling 'Key repeat' in the desktop environment settings.
Now disabling 'Key repeat' doesn't fix the problem completely: the 'current position' arrow on the map stays big.
Comments
Voiceover menu, tech tree, taunt/ammo/med, construction are fine. They aren't blinking.
Flashlight uses the 'key repeat' logic. So, it starts blinking on/off if the key is held. (don't care about that; either way is ok)
Pistol doesn't repeat if the key is held.
My previous thread with this problem (there were also some other possibly related issues): http://forums.unknownworlds.com/discussion/136521/linux-bug-report-overlays-in-273-map-and-big-position-cursor-marine-hud-squares-on-tab#latest
(x, c, e, Tab and maybe some other ones).
Tried disabling Keyboard repeat in the system preferences but that didn't change anything.
I don't know if it matters at all but my keyboard is plugged on a PS/2 port.
Relogin and check in leafpad, for example: right-click ⇒ Input Methods ⇒ if you have "System (X Input Method)" set as default, you're good to go. Ibus isn't really needed if you don't use Eastern scripts like Chinese/Japanese. But it can bring all sorts of input issues if not disabled.
Hope this gets patched because akaif ibus is the default input method shipped with Ubuntu.
Update: Switching to xim seems to have broken the Compose key which is a deal breaker for me. I'll try exporting the GTK_IM_MODULE variable for the game only and see how that works.
Update 2: I've switched to uim instead of xim (needs to be installed first). This seems to be a good workaround, I have both my Compose key and NS2 working properly.
Thank you.
NS2 adaptation script grows.
@Asraniel, we now have two cases, the @devel 's case is key repeating and my friend's case is keyboard controls falling off after Alt-Tabbing or (not sure) after reconnect. He had controls working in the sandbox, then he joined our server and only mouse worked, he couldn't even open the main menu with Esc. Maybe he also Alt-Tabbed between the sandbox and the server, he doesn't remember.
I use KDE, so i wonder if thats somehow related
Tuning OS this way for the only game doesn't look like a good idea.
http://unix.stackexchange.com/questions/260601/understanding-setting-up-different-input-methods
We can find out the build number. I've posted this topic just after the change.
(but several previous builds were workaraundable by disabling the key repeat)