It was unexpectedly troublesome to make truetype fonts available properly with TurboLinux, although tasks were not that complicated after I figured out what should I do.
I also corrected keyboard setup because an abnormal function was observed. It seemed it was a kind of troubles you see with Libretto L5 series only.
Most of configurations are automated with xf86cfg. There are some options with the tool, but just run, save and exit will make it. For example, usually you have to edit XF86Config file to set display size to 1280x600, but even that correction was not required.
By the way, X configuration file is /etc/X11/XF86Config-4 in Vine 2.5R where it is /etc/X11/XF86Config in TurboLinux. It's because the old version 3 is also available with Vine2.5R and /etc/X11/XF86Config is used for the version.
Maybe I'm doing wrong action or something because I have no problem when type keys one by one. Yet I think it's a problem of X because the trouble does not happen on the console. This phenomenon was seen with Vine I installed on L5 previously, too.
I have confirmed that there was no relation to the auto-repeat function of X.
Since I had no trouble with the console, the problem was on Xkb.
My solution was to disable Xkb. Add the following line to the Section "InputDevice" in the XF86Config file.
Instead, I changed the system keyboard of console itself. With RedHat, you have a command 'kbdconfig' to do so, but manual setup is not that difficult either. What you have to do is just changing KEYTABLE entry in /etc/sysconfig/keyboard jp106 to jp106_Ctrl_CAPS as below:
The keytables you may select is in /usr/lib/kbd/keymaps/i386/qwerty/. The name of file is 'name_of_keymap + .kmap.gz'. For example, the file of 'jp106' is jp106.kmap.gz.
If you need more arrangements on keymap, please use Xmodmap function.
The configuration of xf86cfg is set, however, to use the built-in pointing device only so you may not use a USB mouse on X although it will be recognized.
If you always use a USB mouse, just edit XF86Config file as follows:
Section "InputDevice" Option "Protocol" "PS/2" Option "Device" "/dev/mouse" | V Section "InputDevice" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice"But usually you want to use the built-in pointing device when you are out, and to use a connected USB mouse at home or at office. To enable hot plug and to make the USB mouse available, setup XF86Config and USB system file.
(1) Setup XF86Config...step 1
Section "InputDevice" Identifier "Mouse9" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "AlwaysCore" EndSection(2) Setup XF86Config...step 2
Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse9" "SendCoreEvents" InputDevice "Keyboard0" "CoreKeyboard" EndSection(3) Set USB's preload
mousedev hid uhci uhciYou need no modification to make a wheel mouse function available.
6.Using TrueType fonts
In the recent sophisticated desktop environment of Linux, availability of TrueType fonts is quite important. So I made efforts to make those fonts usable although it was a sort of troublesome tasks.
I can write what I've done only, but to contribute for troubleshooting I explain what I did step by step. If you want to know the core of the setting, read (5) below.
(1) Setting up Font Server and start
To start font server automatically, /etc/rc.d/init.d/xfs file exist with Vine. With TurboLinux, no 'rc file' to start the server is prepared. You must add the line below to /etc/rc.d/rc.local or something.
You need to add the following line to "File" section in XF86Config to to access fonts resource the font server supplies.
In Vine it is set so as default and you can let X server to access TrueType fonts by putting font paths to XF86Config-4 file.
With TurblLinux, you have to add the following line in "Module" section of XF86Config to make the X server possible to access tt fonts directly.
Theoretically they are equivalent, and Libretto L5 is powerful enough to ignore the differences in performance. But in TurboLinux, you will have problem with the former method in Japanese environment; The X server fails to setup default Japanese font set.
Consequentially default fonts of applications become single-byte fonts and characters on a menu will be broken.
I haven't tried how it comes but it was OK as far as you use direct font access by X server.