歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux服務器 >> 如何改變Ubuntu8.10的啟動畫面

如何改變Ubuntu8.10的啟動畫面

日期:2017/3/2 16:42:51   编辑:Linux服務器

其實非常簡單:

sudo aptitude install splashy

如果提示沒有軟件包,可以從官方網站下載。

就是兩個文件:

http://splashy.alioth.debian.org/ubuntu/splashy_0.3.8-2_i386.deb

http://splashy.alioth.debian.org/ubuntu/libsplashy1-dev_0.3.8-2_i386.deb

然後sudo dpkg -i *.deb.

修改menu.lst文件

sudo gedit /boot/grub/menu.lst
找到

kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdxx ro quiet splash
這行,去掉splash,在後面添加vga=792

*vga參考表

depth—–640×480—-800×600—-1024×768—–1280×1024—–1600×1200
8bit————769————771————-773————–775—————–796
15bit———-784————787————-790————–793—————–797
16bit———-785————788————-791————–794—————–798
24bit———-786————789————-792————–795—————–799

更多主題,可以從這裡下載http://splashy.alioth.debian.org/wiki/themes/contrib

如何改變Ubuntu8.10的啟動畫面(圖一)

配置文件在/etc/splashy/config.xml,一個例子:

<splashy>
<progressbar>
<!-- here are tags to set the bar... x is the x coordinate and
y is the y coordinate, width and height are for the progress bar.
Remember that x, y width and height are expressed in percentage -->
<x>20</x>
<y>90</y>
<width>60</width>
<height>2</height>
<!-- here you can set the color of the progressbar...
set the amount of red, green, blue and alpha channel.
Remember that the max value is 255 and the minumun value is 0-->
<red>207</red>
<green>0</green>
<blue>0</blue>
<alpha>255</alpha>
</progressbar>
<background>
<boot>/etc/splashy/themes/ubuntu/background.jpg</boot>
<shutdown>/etc/splashy/themes/ubuntu/shutdown.jpg</shutdown>
<errorimg>/etc/splashy/themes/ubuntu/error.jpg</errorimg>
</background>
<fifo>/etc/splashy/splashy.fifo</fifo>
<pid>/etc/splashy/splashy.pid</pid>
<autoverboseonerror>yes</autoverboseonerror>
</splashy>

特別提醒:此事需高級用戶,後果自負

Copyright © Linux教程網 All Rights Reserved