• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Key events, Fedora Core 6, and German keyboards

 
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic