HP t5525 Customization Techniques on HP Compaq Linux Thin Clients - Page 9

by the name to be displayed in the operating system. A few lines from the keyboard.conf file

Page 9 highlights

A following is a sample listing of the /etc/X11/xkb directory: /usr/X11/xkb # ls drwxrwxr-x drwxr-xr-x -rw-r--r-rw-r--r-rw-r--r-rw-r--r-rw-rw-r--rw-r--r-rw-rw-r--rw-r--r-rw-r--r-rw-r--r-rw-r--r-rw-r--r-rw-r--r-rw-r--r- 2 root 11 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root 1 root root root root root root root root root root root root root root root root root 1024 Jan 4 23:50 . 1024 Mar 20 22:52 .. 7940 Apr 20 2005 ar.xkm 8024 Apr 20 2005 be.xkm 7820 Apr 20 2005 br.xkm 9884 Apr 20 2005 cz.xkm 8340 Apr 20 2005 de_CH.xkm 8024 Apr 20 2005 de.xkm 8344 Apr 20 2005 dk.xkm 8024 Apr 20 2005 es.xkm 9176 Apr 20 2005 fi.xkm 8340 Apr 20 2005 fr_CH.xkm 8020 Apr 20 2005 fr.xkm 9132 Apr 20 2005 gr.xkm 8024 Apr 20 2005 hu.xkm 9156 Apr 20 2005 il.xkm Each file listed in the previous directory corresponds to a local Linux keyboard mapping on the HP Linux thin client. You must compile the new keyboard mappings in "xkm" format and copy them into the /etc/X11/xkb directory. 3. Update a Linux configuration file to make the new mapping available to the window manager. To make the keyboard map available, complete the following steps: • In the Linux console, navigate to the /etc/xfce4/applets subdirectory. • Using the vi editor, open the keyboard.conf text file. • Add the new keyboard mapping using the conventions in the file. The text inserted into the first column represents the file name of the keyboard map without the file extension, followed by the name to be displayed in the operating system. A few lines from the keyboard.conf file are shown below. Note that Mongolian has been added to the file using the mo.xkm keyboard file. ar "Arabic" be "Belgian-French" #is there Bel-Eng br "Brazilian" mo "Mongolian" (Note: This line added to support the new key mapping) 4. Save the file and exit the vi editor. 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

9
A following is a sample listing of the /etc/X11/xkb directory:
Each file listed in the previous directory corresponds to a local Linux keyboard mapping on the HP
Linux thin client. You must compile the new keyboard mappings in “xkm” format and copy them into
the /etc/X11/xkb directory.
3.
Update a Linux configuration file to make the new mapping available to the window manager. To
make the keyboard map available, complete the following steps:
In the Linux console, navigate to the /etc/xfce4/applets subdirectory.
Using the vi editor, open the keyboard.conf text file.
Add the new keyboard mapping using the conventions in the file. The text inserted into the
first column represents the file name of the keyboard map without the file extension, followed
by the name to be displayed in the operating system. A few lines from the keyboard.conf file
are shown below. Note that Mongolian has been added to the file using the mo.xkm key-
board file.
ar
“Arabic”
be
“Belgian-French” #is there Bel-Eng
br
“Brazilian”
mo
“Mongolian” (Note: This line added to support the new key mapping)
4.
Save the file and exit the vi editor.
/usr/X11/xkb # ls
drwxrwxr-x
2 root
root
1024 Jan
4 23:50 .
drwxr-xr-x
11 root
root
1024 Mar 20 22:52 ..
-rw-r--r-
1 root
root
7940 Apr 20
2005 ar.xkm
-rw-r--r-
1 root
root
8024 Apr 20
2005 be.xkm
-rw-r--r-
1 root
root
7820 Apr 20
2005 br.xkm
-rw-r--r-
1 root
root
9884 Apr 20
2005 cz.xkm
-rw-rw-r--
1 root
root
8340 Apr 20
2005 de_CH.xkm
-rw-r--r-
1 root
root
8024 Apr 20
2005 de.xkm
-rw-rw-r--
1 root
root
8344 Apr 20
2005 dk.xkm
-rw-r--r-
1 root
root
8024 Apr 20
2005 es.xkm
-rw-r--r-
1 root
root
9176 Apr 20
2005 fi.xkm
-rw-r--r-
1 root
root
8340 Apr 20
2005 fr_CH.xkm
-rw-r--r-
1 root
root
8020 Apr 20
2005 fr.xkm
-rw-r--r-
1 root
root
9132 Apr 20
2005 gr.xkm
-rw-r--r-
1 root
root
8024 Apr 20
2005 hu.xkm
-rw-r--r-
1 root
root
9156 Apr 20
2005 il.xkm