2 xfree86 locale support – Sony XCI-SX1 User Manual

Page 17

Advertising
background image

XCI-SX1 SDK / SDK Technical Manual

Edit the /etc/ld.so.conf file and make sure the following lines exist
and run ‘ldconfig’ command afterwards:

• /lib
• /usr/local/lib
• /usr/X11R6/lib
• /usr/src/linux/lib

Make sure that the /dev/mouse node exists. If the said node does not
exist, invoke

mknod /dev/mouse c 13 63

Running ‘startx’ should be successful. To test if the mouse is
properly working on X11 environment, run ‘xev’ command.

Please note that the development environment has no copy of the
XFree86 source codes since it consumes a large amount of CF space.

2.5.1.2 XFree86 Locale Support

X11 is required to have support of locale settings. The following locale
environments should be added to the system:

• C
• ja
• ja_JP.UTF-8
• ja.SJIS
• en_US.UTF-8
• C.iso88591

The localedef command is required to create the locale environments.
The syntax for creating the environment is shown below:

localedef -i [locale] -f [charmap] [alias]

The table below shows the required values for each locale environment
to be supported. Please note that the C locale is the default locale
environment and does not need to be created.

Locale Requirements

Alias

Locale

Charmap

ja ja_JP.eucJP

EUC-JP

ja_JP.UTF-8 ja_JP.UTF-8 UTF-8
ja.SJIS ja_JP.SJIS

SHIFT_JIS

en_US.UTF-8 en_US UTF-8
C.iso88591 en_US

ISO8859-1

15

Advertising