ภาพส่วน boot และ shutdown (Usplash)
ข้อกำหนด
- ขนาด 1024x768
- จำนวนสีสูงสุด 256 สี ออกแบบให้ใช้สีน้อยกว่า256สีจะแปลงได้สวยกว่า วิธีการทำ index สี (การทำ index สีให้รูป)
- จากภาพตัวอย่างควรออกแบบภาพให้เว้น เนื้อที่ให้ progress bar แสดงผลด้วย
Webสำหรับ Download Theme
http://art.gnome.org/themes/splash_screens
http://gnome-look.org/index.php?xcontentmode=160
http://www.ubuntu-art.org/index.php?xcontentmode=8112
ตัวอย่างหน้าจอ
การแก้ไขและทดสอบ Usplash ด้วยตัวเอง
- เนื้อหาส่วนนี้สำหรับผู้ที่ต้องการจะแปลงรูปให้เป็น usplash เอง
- สำหรับคนที่ทำไม่เป็นส่งแค่รูปที่ปรับความละเอียดและออกแบบเรียบร้อยแล้วมาก็พอ
วิธีสร้าง Usplash
- update ข้อมูล package โดยใช้คำสั่ง
sudo apt-get update
- ติดตั้ง โปรแกรมเพิ่มเติมสำหรับ compile usplash ใหม่โดยใช้คำสั่ง
sudo apt-get build-dep usplash-theme-ubuntu
- ติดตั้ง source ของ package ที่ชื่อ usplash-theme-ubuntu โดยใช้คำสั่ง
apt-get source usplash-theme-ubuntu
- change direcotry เข้าไปที่ directory source code ของ usplash-theme-ubuntu ดังรูป
- นำรูปที่ปรับแล้ว มาแทนรูปที่มีใน directory (ปรับขนาดให้ตรงกับรูปทุกรูป และชื่อต้องเหมือนแฟ้มเดิม)
- จากนั้น สั่ง
make
- เมื่อ make เสร็จจะได้ file ที่ชื่อ usplash-theme-ubuntu.so ออกมา
วิธีติดตั้ง Usplash
- copy ไปไว้ในระบบโดยใช้คำสั่ง
sudo cp usplash-theme-ubuntu.so /usr/lib/usplash/yourimage-splash.so
- จากนั้นใช้คำสั่ง
sudo update-alternatives --install /usr/lib/usplash/usplash-artwork.so usplash-artwork.so /usr/lib/usplash/yourimage-splash.so 55
- จากนั้นใช้คำสั่ง
sudo update-alternatives --config usplash-artwork.so
- ถ้าเครื่องหมาย * ไม่อยู่หน้าชื่อ usplash ใหม่ที่เราสร้างมาให้พิมพ์ ตัวเลขที่ตรงกับชื่อของ usplash ที่เราสร้าง(ในรูปพิมพ์2)
วิธีทดสอบ Usplash
- แก้ไข file /etc/usplash.conf โดยใส่ข้อความเพิ่มเข้าไป
- วิธีแก้ไข file ใช้คำสั่ง sudo pico /etc/usplash.conf
xres=1024
yres=768
- ในตัวอย่างด้านบนจะเป็นสำหรับจอขนาด 1024x768 ควรใส่ค่าให้ตรงกับจอภาพที่ใช้อยู่
- ทดสอบ รูปของ usplash ที่เราทำเสร็จโดยใช้คำสั่ง
sudo usplash -c
- ออกจาก หน้าจอทดสอบ usplash โดยกด CTRL+ALT+F7
- เมื่อได้รูปเป็นที่พอใจแล้ว ใช้คำสั่ง
sudo dpkg-reconfigure linux-image-$(uname -r)





