Netra j 2.0 Administrator's Guide

Adding a Keyboard


Note -

If you install a native keyboard but do not install the fonts to support it, text that is typed does not appear on the screen.


JavaOS supports a number of PS/2 keyboards that may not have been supplied with your JavaStation. The following keyboards are supported:

  • Arabic

  • Belgian

  • Bulgarian

  • CanadianBi

  • CanadianFr

  • Chinese ROC

  • Czech

  • Danish

  • Estonian

  • French

  • German

  • Greek

  • Hebrew

  • Hungarian

  • Italian

  • Japanese

  • Korean

  • Latvian

  • Lithuanian

  • Netherlands

  • Norwegian

  • Polish

  • Portugese

  • Russian

  • Slovakian

  • Spanish

  • SpanishLatin

  • Swedish

  • Swiss

  • Thai

  • Turkish

  • UK

  • USInternatl

To Add a Localized Keyboard

Note -

This procedure can be performed automatically by the Netra j 2.0 software. See "Defining Boot Server Global Parameters".


  1. Connect the keyboard to the JavaStation.

  2. Set the javaos.mountlist property.

    This property setting tells JavaOS to mount the locale directory at startup.


    -djavaos.mountlist=host
    :localization_top_dir
    |/REMOTE 
    

    By default the locale directory is /export/root/javaos/locale. If you set javaos.mountlist as follows:


    -djavaos.mountlist=sunroom:/export/root/javaos/classes|/REMOTE 
    

JavaOS mounts the directory /export/root/javaos/classes/sun/javaos. Note that if you are specifying a FONTS directory as well as a REMOTE directory, the javaos.mountlist property is a list delimited by semicolons. For example:


-djavaos.mountlist=sunroom:/export/root/javaos/fonts|/FONTS;
/export/root/javaos/classes|/REMOTE

  1. Set the javaos.kbd property.

This property setting tells JavaOS the name of the keyboard file, which contains the keyboard mapping table. Keyboard files for all of the countries listed on the previous page are included in the Netra j 2.0 software and reside in the locale directory.


-djavaos.kbd=
keyboard

The syntax of keyboard is namePS2, where name is one of the countries listed on the previous page. For example, to add the Swedish keyboard:


-djavaos.kbd=SwedishPS2

Enabling Special Characters on the U.S. Keyboard

The compose.deadkeys property allows you to modify the characters typed at the U.S. English keyboard. When this property is set to true, the following keys can be used in combination with other keys to produce special characters.

For example, pressing the ' key plus the "a" key produces an á. This feature is commonly used in European locales.

Pressing a special character key twice produces its normal value.

To Enable Special Characters on the U.S. Keyboard
  1. Set the following JavaOS property:


    -djavaos.im.compose.deadkeys=true