Public bug reported:

Users experience severe keyboard layout poblems with Java apps:
http://ubuntuforums.org/showthread.php?p=5409242#post5409242

I'm also affected as well, regardless of default and secondary keyboard
layout for all Java GUI apps (swing, awt, and even applets):

-  Java sticks by the default keyboard layout. I can easily and
successfully switch to any other layout (the input differs in non-Java
programs), but it remains the default one for Java applications. (By
default I mean the X startup layout.)

- 3rd level keys never ever work. Fort English layout AltGr+5 should be
the Euro sign, and (in my example) for Hungarian AltGr+- should be the
asterisk. It just simply does not work, instead a 5 or - gets typed. But
for non-Java apps tge input works flawless.

xorg.conf:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "pc105"
       Option          "XkbLayout"     "hu"
       Option          "XkbVariant"    "102_qwertz_dot_nodead"
       Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

/etc/default/console-setup
XKBMODEL="pc105"
XKBLAYOUT="hu"
XKBVARIANT="102_qwertz_dot_nodead"
XKBOPTIONS="lv3:ralt_switch"

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [hu  102_qwertz_dot_nodead,us        euro]
 model = 
 options = [altwin      altwin:super_win,eurosign       eurosign:e,grp  
grp:shifts_toggle,grp_led       grp_led:scroll,grp      grp:sclk_toggle,lv3     
lv3:ralt_switch_multikey]
 overrideSettings = true

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd
 layouts = [hu  102_qwertz_dot_nodead,us        euro]
 model = 
 options = [altwin      altwin:super_win,eurosign       eurosign:e,grp  
grp:shifts_toggle,grp_led       grp_led:scroll,grp      grp:sclk_toggle,lv3     
lv3:ralt_switch_multikey]
 overrideSettings = true

$ cat /etc/environment 
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/czigola/bin"
LANGUAGE="en_US.utf8"
LANG="en_US.utf8"

NLS_LANG="en_US.utf8"

LC_CTYPE="hu_HU.utf8"
LC_COLLATE="hu_HU.utf8"
LC_TIME="hu_HU.utf8"
LC_NUMERIC="hu_HU.utf8"
LC_MONETARY="hu_HU.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="hu_HU.utf8"
LC_NAME="hu_HU.utf8"
LC_ADDRESS="hu_HU.utf8"
LC_TELEPHONE="hu_HU.utf8"
LC_MEASUREMENT="hu_HU.utf8"
LC_IDENTIFICATION="hu_HU.utf8"

TZ='Europe/Budapest'

EDITOR=vim

LIBXCB_ALLOW_SLOPPY_LOCK=1
INTEL_BATCH="1"

JAVA_HOME="/usr/lib/jvm/java-6-openjdk"
JAVADIR="/usr/lib/jvm/java-6-openjdk"

$ dpkg -l |grep ^ii.*java|cut -d" " -f3
java-common
libaccess-bridge-java
libhsqldb-java
libjaxp1.3-java
libjline-java
libqtjambi-java
libservlet2.4-java
libxalan2-java
libxerces2-java
openoffice.org-java-common
sun-java6-bin
sun-java6-fonts
sun-java6-javadb
sun-java6-jdk
sun-java6-jre
sun-java6-plugin
tzdata-java
vnc-java

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Java keyboard layout problem
https://bugs.launchpad.net/bugs/250990
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to