Problem on Behavior Keypress event on Linux

The problem happens when I’m running my app on Linux. If I hold a key, the KeyPress event is only processed for a short time. But in Windows, it runs ok. I’m using WakeupOnAWTEvent inside a Behavior class btw. Please help! :slight_smile:

Its an X phenomenon.

xset -r will fix it if you do that before you run the Java program from the shell.

Thanks a lot for the info. It worked by just executing the command. Btw, I really learned a lot from your wiki page. You clearly explained all the things that people should know about java game development. You rawk!!! ;D

Thank you! And this reminds me, I should add this bit of info to the page!