#883 Cannot use alt-gr and similar buttons

4: Serious
closed-works-for-me
nobody
Other (88)
5
2014-08-19
2010-09-04
Anonymous
No

I use a Norwegian keyboard on a netbook, and have the following problem:
The modifying keys such as the "^~ button and the alt-gr button doesn't register.
(Is this the famous 3rd level?)

This is completely horrible for me, since the brackets [] and the curlybraces {} are on the alt-gr groupings.

My OS is Ubuntu 10.04 Karmic Koala, using OpenJDK 6.0 and this is the copypaste of sysprops:
DrJava Version drjava-20100816-r5366
DrJava Build Time 20100816-1819

drjava.debug.port = 40883
java.runtime.name = OpenJDK Runtime Environment
sun.boot.library.path = /usr/lib/jvm/java-6-openjdk/jre/lib/i386
java.vm.version = 16.0-b13
java.vm.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
path.separator = :
java.vm.name = OpenJDK Client VM
file.encoding.pkg = sun.io
sun.java.launcher = SUN_STANDARD
user.country = NO
sun.os.patch.level = unknown
java.vm.specification.name = Java Virtual Machine Specification
user.dir = <anonymized user.home>/Nedlastinger
java.runtime.version = 1.6.0_18-b18
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.endorsed.dirs = /usr/lib/jvm/java-6-openjdk/jre/lib/endorsed
os.arch = i386
javax.accessibility.assistive_technologies = org.GNOME.Accessibility.JavaBridge
java.io.tmpdir = /tmp
line.separator = "\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
os.name = Linux
sun.jnu.encoding = UTF-8
java.library.path = /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
java.specification.name = Java Platform API Specification
java.class.version = 50.0
sun.management.compiler = HotSpot Client Compiler
os.version = 2.6.32-24-generic
user.home = <anonymized user.home>
user.timezone = Europe/Oslo
java.awt.printerjob = sun.print.PSPrinterJob
file.encoding = UTF-8
java.specification.version = 1.6
java.class.path = drjava-stable-20100816-r5366.jar
user.name = <anonymized user.name>
java.vm.specification.version = 1.0
java.home = /usr/lib/jvm/java-6-openjdk/jre
sun.arch.data.model = 32
user.language = nb
java.specification.vendor = Sun Microsystems Inc.
java.vm.info = mixed mode, sharing
java.version = 1.6.0_18
java.ext.dirs = /usr/lib/jvm/java-6-openjdk/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path = /usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk/jre/classes
java.vendor = Sun Microsystems Inc.
file.separator = /
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname = 127.0.0.1
sun.desktop = gnome
sun.cpu.isalist =

DrJava configuration file
In resource bundle edu.rice.cs.drjava.config.options:
nothing

In shadowed configuration:
key.delete.next = [shift DELETE]
key.delete.previous = [shift BACK_SPACE]
last.dir = <anonymized user.home>
last.interactions.dir = <anonymized user.home>
new.version.notification.last = 1283628922280

Used memory: about 22.83 megabytes
Free memory: about 7.70 megabytes
Total memory: about 30.54 megabytes
Total memory can expand to: about 479.50 megabytes

Number of processors/cores: 2

Compiler Discovery Log:
From config: not set
makeFromRuntime: compilerAdapter=edu.rice.cs.drjava.model.compiler.Javac160OpenJDKCompiler
attempt = JDK 6.0_18-OpenJDK, isAvailable() = false
compiler=edu.rice.cs.drjava.model.compiler.NoCompilerAvailable
at least Java 6, try EclipseCompiler
version for Eclipse: Java 6.0
attempt = Eclipse Compiler 0.A48, isAvailable() = true
compiler=edu.rice.cs.drjava.model.compiler.EclipseCompiler
compiler found
compilers found: 1
From runtime: JDK library 6.0
Dir added: /usr/lib/jvm/java-6-openjdk/jre
Dir added: /usr/lib/jvm/java-6-openjdk
Dir added: /usr/lib/jvm
Dir not added: /C:/Program Files/Java
Dir not added: /C:/Program Files
Dir not added: /C:/Java
Dir not added: /C:
Dir not added: /System/Library/Frameworks/JavaVM.framework/Versions
Dir not added: /usr/java
Dir not added: /usr/j2se
Dir added: /usr
Dir not added: /usr/local/java
Dir not added: /usr/local/j2se
Dir added: /usr/local
Dir added: /usr/lib/jvm
Dir not added: /usr/lib/jvm/java-6-sun
Dir not added: /usr/lib/jvm/java-1.5.0-sun
Dir added: /usr/lib/jvm/java-6-openjdk
Dir not added: /home/javaplt/java/Linux-i686
File added: /usr/lib/jvm/java-6-openjdk/lib/tools.jar
File not added: /usr/lib/jvm/java-6-openjdk/Classes/classes.jar
File added: /usr/lib/jvm/java-6-openjdk/lib/tools.jar
File not added: /usr/lib/jvm/java-6-openjdk/Classes/classes.jar
File not added: /C:/Program Files/JavaMint/langtools/dist/lib/classes.jar
File not added: /C:/Program Files/JavaMint/langtools/dist/lib/tools.jar
File not added: /usr/local/soylatte/lib/classes.jar
File not added: /usr/local/soylatte/lib/tools.jar
File not added: /usr/local/JavaMint/langtools/dist/lib/classes.jar
File not added: /usr/local/JavaMint/langtools/dist/lib/tools.jar
MINT_HOME not set
File added: <anonymized user.home>/Nedlastinger/drjava-stable-20100816-r5366.jar
Result:
Found library: JDK library 6.0_18-OpenJDK at /usr/lib/jvm/java-6-openjdk/lib/tools.jar, boot classpath: [/usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/compilefontconfig.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/about.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/javazic.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/management-agent.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar]
From search: JDK library 6.0_18-OpenJDK at /usr/lib/jvm/java-6-openjdk/lib/tools.jar, boot classpath: [/usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/compilefontconfig.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/about.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/javazic.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/management-agent.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar, /usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar]

So, is there any way to fix this? Normally, I'd just use another program, but using drJava is mandatory at UiB for their entry level programming course, and I'm trying to help a friend of mine who's taking that course, and google avails me nought. :(

Discussion

  • Mathias Ricken
    Mathias Ricken
    2010-09-26

    At least on the Mac, I cannot reproduce this, neither with the regular Norwegian keyboard setting nor with the Extended (Unicode) Norwegian setting.

    I'll try to reproduce this on Ubuntu.

     
  • Mathias Ricken
    Mathias Ricken
    2010-09-26

    Even on Ubuntu, it works for me. However, because I don't have a Norwegian keyboard with an Alt-Gr key, I had to set another key to access the 3rd level. I set Right Ctrl for that and was able to enter [] and also ~.

    What keyboard setting do you use? Just the regular Norwegian one?

     
  • Mathias Ricken
    Mathias Ricken
    2010-09-26

    • status: open --> open-works-for-me
     
  • Mathias Ricken
    Mathias Ricken
    2010-09-26

    • status: open-works-for-me --> pending-works-for-me
     
    • status: pending-works-for-me --> closed-works-for-me
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).