Ubuntu training day @ it.kmitl

11 07 2007

วันนี้เห็นพี่ ๆ support มา train ubuntu กาน
อยากไปมั่งจัง แต่ ไม่เอาดีกว่า งานเยอะมากมาย
เหอ ๆนั่งเล่น desktop effect ไปเรื่อย ๆ
ทำให้มันดูดีขึ้น สนุกดี

ใกล้สอบแล้ว ทำไงดีหว่า จะเอา ไปสอบแว๊

อืม วันนี้ เจอ how to make ubuntu like mac os x
ท่านที่อยากทำให้ ubuntu เหมือน mac ก้อ
ลองนี่เรยคับ คิคิ

http://www.taimila.com/ubuntuosx.php





After Install Ubuntu , what will you do !!

11 07 2007

entry นี้จะ บอกให้ทราบว่า หลังจากการ install ubuntu เสร็จแล้วเนี่ย เราจะต้องลงอะไร อีกบ้างนะคับ

1. สร้าง password root

$ sudo passwd root (ใส่ password user และใส่ password root ที่ต้องการ 2 ครั้ง)

2. ติดตั้งไทยเพิ่มเติม

$ sudo aptitude update
$ sudo aptitude install xfonts-thai xfonts-thai-etl xfonts-thai-manop xfonts-thai-nectec xfonts-thai-poonlap xfonts-thai-ttf xfonts-thai-vor xiterm+thai

3. ปรับแต่งฟอนต์ของระบบ
Menu–>ระบบ–>ปรับแต่งพื้นโต๊ะ–>แบบอักษร–>Loma ให้หมด

4. ติดตั้ง Flash Player (D/L)

$ sudo cp install_flash_player_9_linux.tar.gzocal /usr/local/src
$ cd /usr/local/src
$ sudo tar xvfz install_flash_player_9_linux.tar.gz
$ cd install_flash_player_9_linux
$ sudo ./flashplayer-installer (ติดตั้งใน /usr/lib/firefox)

5. ติดตั้ง Automatix

$ wget http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-3.9-7.04feisty_i386.deb
$ sudo dpkg -i automatix2_1.1-3.9-7.04feisty_i386.deb
Password:

Selecting previously deselected package automatix2.
(Reading database … 88811 files and directories currently installed.)
Unpacking automatix2 (from automatix2_1.1-3.9-7.04feisty_i386.deb) …
dpkg: dependency problems prevent configuration of automatix2:
automatix2 depends on python2.4; however:
Package python2.4 is not installed.
dpkg: error processing automatix2 (–install):
dependency problems – leaving unconfigured
Errors were encountered while processing:
automatix2

โอ๊ะโอ …. ยังไม่ได้ติดตั้ง python นั่นเอง

$ sudo aptitude install python
…….
Linking and byte-compiling packages for runtime python2.4…
Setting up python2.4 (2.4.4-2ubuntu7) …
Setting up automatix2 (1.1-3.9-7.04feisty_i386) …

เนื่องจาก dpkg มันจำไว้แล้วว่า automatix มันต้องการ python พอเราติดตั้ง python ปุ๊บ มันก็ถือวิสาสะติดตั้ง autimatix ต่อให้เลย

*** การใช้งาน automatix ดูต่อได้ที่นี่ และเข้าใช้งานที่ Menu โปรแกรม–>เครื่องมือระบบ–>Automatix

6. Desktop Effect (เฉพาะกับ Nvidia นะครับ เพราะผมไม่มีการ์ด ATI จึงไม่สามารถบอกได้ว่าทำอย่างไร ใครจะส่งมาให้ลองก็ยินดีนะครับ จะ review ให้ :) อิ ๆ)

มี 2 ตัวให้เลือกใช้ง่าย ๆ คือ Compiz กับ Beryl (ไม่นับ XGL)

Compiz นั้นมีมากับ Feisty อยู่แล้วเพียงแค่ไปที่ Menu ระบบ–>ปรับแต่งพื้นโต๊ะ–>Desktop Effects

ปรับแต่งโดย

$ gconf-editor

และมั่ว ๆ เอาเอง (ผมไม่ถนัด) หรือว่าตามนี้ ก็ได้

Beryl ต้องออกแรงเอง

$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
$ sudo nano /etc/apt/sources.list (เพิ่ม deb http://ubuntu.beryl-project.org feisty main)

$ wget http://ubuntu.beryl-project.org/ \n root@lupine.me.uk.gpg -O- | sudo apt-key add -
$ sudo aptitude update
$ sudo aptitude install nvidia-glx
$ sudo nvidia-xconfig –add-argb-glx-visuals –composite

กด Ctrl+Alt+BackSpace แล้ว login เข้ามาใหม่

$ sudo aptitude install beryl emerald-themes beryl-manager

กด Alt+F2 แล้วใส่ว่า beryl-manager

ทำไม background มันมืดไปหมดเลยฟะ คงต้องเอาของเก่า มาหากินอีกแล้วมั๊ง

none

7. ปรับให้จอหมุนได้

$ nano /etc/X11/xorg.conf

Section “Device”
Identifier “nVidia Corporation NV11 [GeForce2 MX/MX 400]“
Driver “nvidia”
# For AIGLX #
Option “XAANoOffscreenPixmaps” “true”
Option “TripleBuffer” “True”
# End for AIGLX
# Screen Rotation
Option “RandRRotation” “on” <—- เพิ่มบรรทัดนี้
# End Screen Rotation
EndSection

ใช้งานโดยไปที่ Menu ระบบ–>ปรับแต่งพื้นโต๊ะ–>ความละเอียดของจอ

แล้วจะเขียนต่อนะคับ หวังว่าคงเป็นประโยชน์
เรียบเรียง จาก http://www.linuxshopcm.com