[Linux/Unix]วิธีติดตั้ง Ubuntu + ภาษาไทย + XGL
Posted: Mon Oct 30, 2006 10:51 am
เห็นแบ๊คบอกอยากได่ตู่มือติดตั้ง Ubuntu ก็จัดให้
สำหรับขั้นตอนทั่วๆ ไป ก็อ่านตามเว็บนี้ละกัน
http://www.ubuntuclub.com/html/index.ph ... &Itemid=41
http://www.ubuntuclub.com/html/index.ph ... &Itemid=41
ต่อไปก็ทำให้ภาษาไทยใช้ได้ถึงระดับน่าพอใจ (คือบางตัวมันยังแสดงเพี้ยนอยู่อ่ะนะ)
เอามาจาก : http://www.ubuntuclub.com/html/index.ph ... &Itemid=41
1. copy font ของ microsoft มาก่อน เช่น Tahoma, UPC, MS Sans Serif ...
2. copy font
2.1. ถ้าต้องการให้ User ทุกคนที่ใช้เครื่องใช้ font ได้ก็เอาไปวางไว้ที่ /usr/shar/font
2.2. ถ้าใช้คนเดียว เอาไปวางที่ /home/user-name/.font
ต่อไปก็ XGL
เอามาจาก : เว็บเดิม + http://ubuntuguide.org/wiki/Ubuntu_Edgy
1. ติดตั้ง Driver การ์ดจอก่อน แล้วแต่ว่าเป็น nVidia, Ati, intel หรืออะไรก็ตาม
2. ตรวจสอบว่า package ต่างของ ubuntu update เป็นรุ่นล่าสุดหมดแล้ว
3. จากนั้นเพิ่ม Repository
3.1 เปิดไฟล์ sources.list
3.2 เพิ่ม code ด้านล่างลงไปท้ายไฟล์
3.2.1 ถ้าเครื่อง 64 บิตใช้ โค้ดด้านล่างนี้แทน
3.3 เซฟไฟล์แล้วอัพเดท package list
4. ติดตั้ง Beryl
5. backup xorg.conf
6. เพิ่มโค้ดเหล่านี้ลงไปใน xorg.conf ส่วน Screen
6.1 ในการ์ดจอ nVidia บางรุ่น ถ้าเปิด xgl แล้วกระตุก ใส่โค้ดด้านล่างลงไป
7. Restart Xserver โดยการกด ctrl+atl+backspace
8. Start Beryl
หรือ
9.สำหรับคนที่ทำครบแล้วแต่ค้างลองเพิ่มโค้ดนี้ไป ในไฟล์ /etc/gdm/gdm.conf-custom
ปล. ลองมากับการ์ดจอ nvidia เท่านั้นนะ (ก็เครื่องใช้ nvidia นี่นา)
ปฮ. ถ้าเปิด xgl จะเล่น cedega ไม่ได้ด้วยเออ
ปก. ไว้จะ capture ภาพมาอวดเล่น[/code]
สำหรับขั้นตอนทั่วๆ ไป ก็อ่านตามเว็บนี้ละกัน
http://www.ubuntuclub.com/html/index.ph ... &Itemid=41
http://www.ubuntuclub.com/html/index.ph ... &Itemid=41
ต่อไปก็ทำให้ภาษาไทยใช้ได้ถึงระดับน่าพอใจ (คือบางตัวมันยังแสดงเพี้ยนอยู่อ่ะนะ)
เอามาจาก : http://www.ubuntuclub.com/html/index.ph ... &Itemid=41
1. copy font ของ microsoft มาก่อน เช่น Tahoma, UPC, MS Sans Serif ...
2. copy font
2.1. ถ้าต้องการให้ User ทุกคนที่ใช้เครื่องใช้ font ได้ก็เอาไปวางไว้ที่ /usr/shar/font
2.2. ถ้าใช้คนเดียว เอาไปวางที่ /home/user-name/.font
ต่อไปก็ XGL
เอามาจาก : เว็บเดิม + http://ubuntuguide.org/wiki/Ubuntu_Edgy
1. ติดตั้ง Driver การ์ดจอก่อน แล้วแต่ว่าเป็น nVidia, Ati, intel หรืออะไรก็ตาม
2. ตรวจสอบว่า package ต่างของ ubuntu update เป็นรุ่นล่าสุดหมดแล้ว
- Code: Select all
Install your *ubuntu-desktop metapackage specific to your DE, e.g. sudo apt-get install ubuntu-desktop
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
3. จากนั้นเพิ่ม Repository
3.1 เปิดไฟล์ sources.list
- Code: Select all
gksudo gedit /etc/apt/sources.list
3.2 เพิ่ม code ด้านล่างลงไปท้ายไฟล์
- Code: Select all
deb http://dev.realistanew.com/beryl edgy beryl
deb http://beryl-mirror.lupine.me.uk/beryl edgy beryl
3.2.1 ถ้าเครื่อง 64 บิตใช้ โค้ดด้านล่างนี้แทน
- Code: Select all
deb http://ubuntu.lupine.me.uk/ edgy main-amd64
3.3 เซฟไฟล์แล้วอัพเดท package list
- Code: Select all
sudo apt-get update
4. ติดตั้ง Beryl
- Code: Select all
sudo apt-get install beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-d
5. backup xorg.conf
- Code: Select all
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf
6. เพิ่มโค้ดเหล่านี้ลงไปใน xorg.conf ส่วน Screen
- Code: Select all
# Enable 32-bit ARGB GLX Visuals
Option "AddARGBGLXVisuals" "True"
# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Option "DisableGLXRootClipping" "True"
6.1 ในการ์ดจอ nVidia บางรุ่น ถ้าเปิด xgl แล้วกระตุก ใส่โค้ดด้านล่างลงไป
- Code: Select all
Option "TripleBuffer" "true"
7. Restart Xserver โดยการกด ctrl+atl+backspace
8. Start Beryl
- Code: Select all
beryl-manager
หรือ
- Code: Select all
beryl-start
9.สำหรับคนที่ทำครบแล้วแต่ค้างลองเพิ่มโค้ดนี้ไป ในไฟล์ /etc/gdm/gdm.conf-custom
- Code: Select all
[servers]# Override display 1 to use Xgl
0=Xgl
[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true
ปล. ลองมากับการ์ดจอ nvidia เท่านั้นนะ (ก็เครื่องใช้ nvidia นี่นา)
ปฮ. ถ้าเปิด xgl จะเล่น cedega ไม่ได้ด้วยเออ
ปก. ไว้จะ capture ภาพมาอวดเล่น[/code]