PDA

View Full Version : [ubuntu] minecraft gets no keyboard input on 12.04



akos.maroy
May 12th, 2012, 05:57 PM
Hi,

I just upgraded to ubuntu 12.04, and I'm trying to run minecraft, as earlier on 11.10. Minecraft used to run properly on 11.10, with a number of JDKs.

But, when I run the same thing on 12.04, the minecraft windows doesn't seem to get any keyboard events - after logging in. I can still enter my login details via keyboard, but as soon as I enter the game, no keyboard input gets through. This means one is unable to move using the WASD keys, but ESC doesn't work either, to get out into the menu.

I've tried with the following JDKs:

* OpenJDK 6
* OpenJDK 7
* Oracle JDK 7

I know of the need to fix the java GL .so, so this is how I run minecraft"



JDK_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
JAVA=$JDK_HOME/bin/java

export LD_LIBRARY_PATH=$JDK_HOME/lib/amd64

$JAVA -jar minecraft.jar


what could have gone wrong?

akos.maroy
May 13th, 2012, 02:27 PM
some additional info: the above symptoms happen only if ibus is used for input. if I kill ibus, minecraft gets the keyboard input fine

overclucker
June 6th, 2012, 05:30 PM
Same here, I usually just kill ibus-daemon when i want to stack cobble. Makes navigating through files and folders with japanese unicode chars hard though.