Keyboard not working when using SCIM input method on Linux

Started by lwgjluser, March 18, 2009, 21:10:58

Previous topic - Next topic

lwgjluser

Hi,

I have a bug report.
I'm developing games using LWJGL. I have had a lot of problems with the keyboard, there was not input from it.
I found out that the reason for it is SCIM input method which I'm using for Japanese input in Ubuntu Linux.

Way to reproduce the problem :
- Use Linux (i.e. Ubuntu) with SCIM Japanese input method launched by default at startup
- Download LWJGL 2.0.1 following the instructions on http://lwjgl.org/installation.php
- Test keyboard input with the org.lwjgl.test.input.KeyboardTest example. The white shape will not move when hitting the keys. If you turn the example off, turn off SCIM (just reloading it works too) and then try again, it will work.

This problem means, that any Japanese Linux user would be unable to properly run programs developed with LWJGL, so I hope it will be fixed soon.

Environment Im using is LWJGL 2.0.1, Java 1.6, Ubuntu 8.10, SCIM 1.4.6

Thanks

wolf_m

I'm pretty sure the problem is on SCIM's side. Try disabling it for your game.
http://www.scim-im.org/wiki/faq/general/is_it_possible_to_prevent_ctrl_space_from_activating_scim_in_some_apps shows you how to do this.

This of course assuming you don't need SCIM's generated characters in your games.

If this solves it, it makes sense to either tell your users about this issue or deactivate SCIM silently for your game in a startup script.