Hi !
To show Vietnamese web, I only copy all font Unicode (Arial, tahoma, times new,...) to HOME/.fonts and that worked well !
about "localedef" file i copy from VECTOR 5 and it worked !
localedef, i using for locale en_US.UTF-8 before i install Unikey (key board for Vietnamese need en_US.UTF-8 )
Now, I not yet finish lacale to en_US.UTF-8 !
HOW DO IT WITH VECTOR !? --> OK !
------------------------------------------------------
I success in Vector 5 show & typing Vietnamese
1) locale to en_US.UTF-8
$ locale (show LANG=en_US)
$ su
# mcedit /etc/profile.d/lang.sh (or editor other)
- Add # (comment) before "export LANG=en_US"
- Remove # (uncomment) before "export LANG=en_US.UTF-8"
- F2 to saved , F10 to quit
# locale or $ locale (show LANG=en_US.UTF-8)
2) make link en_US.UTF-8 to /usr/share/locale
$ su
# mkdir /usr/share/locale/en_US.UTF-8
# localedef -v -c -i en_US -f UTF-8 /usr/share/locale/en_US.UTF-8
# cd /usr/lib/locale
# ln -s /usr/share/locale/en_US.UTF-8 en_US.UTF-8
3. setup .bashrc or .bash_profile
$ mcedit /home/hacao/.bash_profile (hacao is my account)
Add three row:
export XMODIFIERS="@im=unikey"
export GTK_IM_MODULE="xim"
export LANG=en_US.UTF-8
- Press F2 to saved, F10 to quit.
- Logout or reboot PC
- Check it again:
$ echo $LANG (show en_US.UTF-8 is OK!)
$ echo $XMODIFIERS (show @im=unikey is OK !)
$ echo $GTK_IM_MODULE (show xim is OK!)
4. Setup Unikey (typing Vietnamese)
- Download from
http://unikey.sourceforge.net/linux.php
- Unpack to /home/hacao/addon
i have folder: /home/hacao/addon/x-unikey-0.9.2
$ cd /home/hacao/addon/x-unikey-0.9.2
$ ./configure
$ make
$ su
# make install
That all !
I type "unikey" in Xterm to run Vietnamese typing !
$unikey
and open a editor to enjoy !
$mcedit (or editor other)
success !
P/S: I'm not yet success with PUPPY 1.04!