• Post Reply Bookmark Topic Watch Topic
  • New Topic

Key events, Fedora Core 6, and German keyboards  RSS feed

 
Joe Vahabzadeh
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I've run into something of a puzzle. I'm trying to capture key events in Java, with the Fedora Core 6 operating system. The system is currently set to a typical U.S. English setup, and I'm trying to change things to German.

Also, I'm using Sun's JRE, both 1.4.2_13 and 1.5.0_11.

A colleage and I were trying to see what could be done about the AltGr key, which doesn't seem to generate events when using Sun's KeyEventDemo program.

However, we've noticed that the desktop GUI (we're using the Gnome layout as the FC6 installer sets it up), has what appears to be two separate options for setting the keyboard.

The first: System -> Preferences -> Keyboard
The second: System -> Administration -> Keyboard

Now at some point, we actually had things set such that the Java KeyEventDemo program would actually capture the keypress and key release of AltGr - but for the life of us, we can't remember what we did or how, and are now unable to duplicate that scenario.

Can anyone offer me any guidance on this? Thanks in advance!
 
Campbell Ritchie
Sheriff
Posts: 55351
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
System->administration->root password->keyword.

It worked when I tried it!

Also try system->administration->root password->language
[ April 11, 2007: Message edited by: Campbell Ritchie ]
 
Joe Vahabzadeh
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Didn't work for me.

I tried it both under the Preferences and under the Administration menus, setting the keyboard.

German keys work in general, but running KeyEventDemo doesn't give us any key events for the AltGr key.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!