Losing keyboard input on Linux

Hello, so I regularly lose keyboard input when running Oxygen on Linux. cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.2" java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) I can often get it back by opening a new editing tab and typing into that then going back to the tab I was editing. Anyone else have this or know a solution. Thanks, Dave.

Hello, Some Ubuntu users that are not Oxygen users have the same problem when the keyboard is connected to a KVM switch or when they modify the Xorg.conf file. If you have a KVM switch try to change the switch or connect the keyboard to the computer without the switch. If you edited the Xorg.conf file you can regenerate it with a command: sudo dpkg-reconfigure -phigh xserver-xorg Regards, Sorin David Holden wrote:
Hello, so I regularly lose keyboard input when running Oxygen on Linux.
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.2"
java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
I can often get it back by opening a new editing tab and typing into that then going back to the tab I was editing.
Anyone else have this or know a solution.
Thanks,
Dave.

No no KVM, bog standard keyboard and several versions of ubuntu. I've had this issue with several Java apps but its a particular problem with Oxygen. Dave. 2009/5/18 Sorin Ristache <sorin@oxygenxml.com>:
Hello,
Some Ubuntu users that are not Oxygen users have the same problem when the keyboard is connected to a KVM switch or when they modify the Xorg.conf file. If you have a KVM switch try to change the switch or connect the keyboard to the computer without the switch. If you edited the Xorg.conf file you can regenerate it with a command:
sudo dpkg-reconfigure -phigh xserver-xorg
Regards, Sorin
David Holden wrote:
Hello, so I regularly lose keyboard input when running Oxygen on Linux.
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=8.04 DISTRIB_CODENAME=hardy DISTRIB_DESCRIPTION="Ubuntu 8.04.2"
java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06) Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
I can often get it back by opening a new editing tab and typing into that then going back to the tab I was editing.
Anyone else have this or know a solution.
Thanks,
Dave.
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Hello, A keyboard disconnected from a Java application after the keyboard could be used in that application without problems for some time can be caused by the following Sun JVM bug (Oxygen comes with a Java 1.6 Sun JVM): http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6598651 In this bug the keyboard events are not passed to the Java application at a low level anymore which means the bug cannot be fixed in the Java application. It must be fixed in the JVM. There are two different workarounds for this bug: - send a mouse event to the Java application, for example open and close a menu with the mouse (without running an action from the menu); this will re-connect the keyboard with the window of the application, - use a Java 1.5 virtual machine instead of a Java 1.6 one. For the second workaround you can download a Java 1.5 virtual machine for Linux from: http://java.sun.com/javase/downloads/index_jdk5.jsp After installing it you set it for running Oxygen as specified in the User Manual (see the note in the Linux installation procedure): http://www.oxygenxml.com/doc/ug-oxygen/installation-instructions.html#proced... Also you can set a JVM for running Oxygen by editing the script [Oxygen-install-dir]/oxygen.sh and specifying the full path to the java executable ([JVM-install-dir]/bin/java) in the java command at the end of the oxygen.sh script. In this case you have to start Oxygen with this script, that is a command: sh oxygen.sh I hope this helps, Sorin David Holden wrote:
No no KVM, bog standard keyboard and several versions of ubuntu. I've had this issue with several Java apps but its a particular problem with Oxygen.
Dave.

Yes this looks like the problem I will try the 1.5 option. sad they consider it a low priority bug. Thanks, Dave. 2009/5/19 Sorin Ristache <sorin@oxygenxml.com>:
Hello,
A keyboard disconnected from a Java application after the keyboard could be used in that application without problems for some time can be caused by the following Sun JVM bug (Oxygen comes with a Java 1.6 Sun JVM):
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6598651
In this bug the keyboard events are not passed to the Java application at a low level anymore which means the bug cannot be fixed in the Java application. It must be fixed in the JVM.
There are two different workarounds for this bug:
- send a mouse event to the Java application, for example open and close a menu with the mouse (without running an action from the menu); this will re-connect the keyboard with the window of the application,
- use a Java 1.5 virtual machine instead of a Java 1.6 one.
For the second workaround you can download a Java 1.5 virtual machine for Linux from:
http://java.sun.com/javase/downloads/index_jdk5.jsp
After installing it you set it for running Oxygen as specified in the User Manual (see the note in the Linux installation procedure):
http://www.oxygenxml.com/doc/ug-oxygen/installation-instructions.html#proced...
Also you can set a JVM for running Oxygen by editing the script [Oxygen-install-dir]/oxygen.sh and specifying the full path to the java executable ([JVM-install-dir]/bin/java) in the java command at the end of the oxygen.sh script. In this case you have to start Oxygen with this script, that is a command:
sh oxygen.sh
I hope this helps, Sorin
David Holden wrote:
No no KVM, bog standard keyboard and several versions of ubuntu. I've had this issue with several Java apps but its a particular problem with Oxygen.
Dave.
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
David Holden
-
Sorin Ristache