Sau khi dda~ ca`i dda(.t xong Suse 9.3 co`n ra^'t nhie^`u pha^`n me^`m ca^`n
ca`i dda(.t bo^? sung dde^? co' the^? su+? du.ng ddu+o+.c Suse hie^.u qua?
nha^'t.

1. Ca`i dda(.t xvnkb.

+ Ba.n ha~y download xvnkb-0.2.9 tu+`
http://xvnkb.sourceforge.net/xvnkb-0.2.9.tar.gz

+ Xa? file ne'n no'i tre^n va`o mo^.t thu+ mu.c vi' du.:
/home/softwares/xvnkb-0.2.9

+ Chuye^?n sang quye^`n root:  go~ su - (enter), sau ddo' go~ pw cu?a root
user.

+ Chuye^?n sang thu+ mu.c xvnkb-0.2.9b:

cd /home/softwares/xvnkb-0.2.9

# ./configure &&make

# ./xvnkb_localeconf vi_VN.UTF-8

+ Che`n the^m hai do`ng sau dda^y va`o file /etc/X11/xinit/xintrc
export LD_PRELOAD=/usr/local/lib/xvnkb.so.0.2.9
export LANG=vi_VN.UTF-8

+ Copy file xvnkb.so.0.2.9 trong thu+ mu.c /home/softwares/xvnkb-0.2.9 va`o
/usr/local/lib/
(To^i du`ng mc va` nha^'n F5)
+ Du`ng mc dde^? ta.o SymLink cho file xvnkb va`o thu+ mu.c /bin
+ Kho+?i ddo^.ng la.i xwindow va` nha^'n Alt F2 dde^? go~ xvnkb (enter).
+ Mo+? OpenOffice dde^? go~ thu+? Tie^'ng Vie^.t, ne^'u ba.n la`m ddu'ng
ca'c bu+o+'c ne^u tre^n thi` to^i tin ra(`ng ba.n dda~ ca`i dda(.t xong
xvnkb.0.2.9

+ Lu+u y' ne^'u giao die^.n Tie^'ng Vie^.t cu?a xvnkb ma` kho^ng hie^?n thi.
ddu'ng la` do xvnkb la^'y font chu+~ ma(.c ddi.nh la` helvetica ma` tre^n
ma'y cu?a ba.n kho^ng co' font chu+~ na`y.

Kha('c phu.c nhu+ sau:

+ Thoa't xvnkb
+ Go.i xvnkb tu+` /home
+ Du`ng mc mo+? file /home/xvnkbrc. Thay te^n font helvetica ba(`ng mo^.t
font unicode ma` tre^n ma'y ba.n co', vi' du.: arial. Save file xvnkbrc. va`
go.i la.i xvnkb

2. Install Newfont

DDe^? co' the^? soa.n tha?o Tie^'ng Vie^.t thua^.n lo+.i cu~ng nhu+ duye^.t
web vo+'i ca'c font chu+~ phu` ho+.p ba.n ca^`n pha?i ca`i dda(.t the^m ca'c
font chu+~ unicode. Ca'c font chu+~ na`y ca'c ba.n copy tu+` Windows sang.
DDo' la` ca'c font arialuni.ttf, arial.ttf, arialbd.ttf, arialbi.ttf,
ariali.ttf, tahoma.ttf, tahomabd.ttf, times.ttf, timesi.ttf, timesbd.ttf,
timesbi.ttf v.v...

Ca'ch ca`i dda(.t nhu+ sau:

Mo+? Control Center, cho.n System Administration, Font installer, Add fonts.
Sau ddo' chi? ddu+o+`ng da^~n to+'i thu+ mu.c chu+'a ca'c fonts no'i tre^n,
cho.n Open. Co`n la.i la` do Suse thu+.c hie^.n. Add fonts xong, ca'c ba.n
pha?i kho+?i ddo^.ng la.i xwindow, vie^.c add fonts mo+'i hoa`n tha`nh.

3. Ca`i dda(.t vntex ba(`ng mo^.t ca'ch nhanh nha^'t.

+ DDo' la` ca'c ba.n download ca'c file zip sau dda^y etc.zip, usr.zip va`
var.zip tre^n server cu?a chu'ng to^i. Ha~y go~

http://hcmup.edu.vn/nthaison/vntex/etc.zip
http://hcmup.edu.vn/nthaison/vntex/etc.zip
http://hcmup.edu.vn/nthaison/vntex/etc.zip


+ Xa? ne'n ba file na`y tha`nh ca'c thu+ mu.c etc, var, usr.

+ Chuye^?n quye^`n root, mo+? mc va` che'p dde` ba thu+ mu.c no'i tre^n va`o
ba thu+. mu.c tu+o+ng u+'ng cu?a /.

+ DDe^'n dda^y la` xong vntex. Ba.n co' the^? soa.n mo^.t file tha^.t ddo+n
gia?n, vi' du.: viet.tex
\documentclass{article}
\usepackage{ucs}
\usepackage[utf8]{vietnam}
\begin{document}
Tiếng Việt mến yêu.
\end{document}

Ba.n du`ng pdflatex dde^? di.ch va` xem ba(`ng xpdf, kpdf hay Acroread.
Ne^'u ba.n tha^'y ddu+o+.c Tie^'ng Vie^.t thi` coi nhu+ hoa`n tha`nh vntex.

4. Va^.n ha`nh ca'c file VOB va` xem DVD.

Sau khi ca`i dda(.t xong Suse9.3, ca'c chu+o+ng tri`nh xine, kaffeine dde^`u
co' the^? thu+.c thi ddu+o+.c ca'c file VOB nhu+ng chi? co' hi`nh, kho^ng
co' tie^'ng. Ne^'u ca'c ba.n mo+? ca'c file WMV (Windows Media Player)
hoa(.c ddu+a ddi~a DVD va`o o^? ddi~a DVD thi` se~ nha^.n ddu+o+.c mo^.t
tho^ng ba'o chua^?n kho^ng phu` ho+.p, chu+a co' ca'c plug-in v.v... va`
ca'c chu+o+ng tri`nh chie^'u phim se~ kho^ng hoa.t ddo^.ng.

DDe^? co' the^? xem ddu+o+.c ca'c ddi~a DVD hoa(.c ca'c file WMV, ca'c ba.n
ha~y download ca'c file rpm sau dda^y ve^` ma'y cu?a mi`nh.

http://hcmup.edu.vn/nthaison/suse93/dvd/libdvdcss-1.2.8-2.network.i386.rpm
http://hcmup.edu.vn/nthaison/suse93/dvd/libxine1-1.0.1cvs-050507.i686.rpm
http://hcmup.edu.vn/nthaison/suse93/dvd/xine-ui-0.99.3cvs-050507.i586.rpm
http://hcmup.edu.vn/nthaison/suse93/dvd/w32codec-0.52-1.i386.rpm

Sau ddo' du`ng Yast dde^? ca`i dda(.t ca'c go'i pha^`n  me^`m tre^n va`o
ma'y ti'nh cu?a ba.n. De^~ nha^'t la` copy ca'c file no'i tre^n va`o mo^.t
thu+ mu.c cha(?ng ha.n /home/dvd, du`ng Konqueror dde^? mo+? thu+ mu.c na`y
ra va` la^`n lu+o+.t ba^'m double va`o ca'c file no'i tre^n dde^? Install
package with YaST.

Sau khi ca`i dda(.t xong, ne^'u ba.n mo+? file VOB cha('c cha('n co' tie^'ng
va` co' hi`nh, mo+? file WMV se~ xem ddu+o+.c film nhu+ trong Windows. DDu+a
ddi~a DVD va`o ma'y, ne^'u ma'y cu?a ba.n tu+. ddo^.ng ki'ch hoa.t thi` OK,
ne^'u kho^ng ba.n ha~y go.i chu+o+ng trinh xine, ba^'m va`o nu't  DVD, xine
se~ hoa.t ddo^.ng va` chie^'u ddu+o+.c film DVD.

(co`n tie^'p)




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
VietLUG-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho