如何改变Ubuntu8.10的启动画面
点击次数:40 次 发布日期:2008-12-04 11:01:04 作者:源代码网
|
源代码网推荐
其实非常简单:
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参考表
depth640×480-800×600-1024×7681280×10241600×1200 8bit769771-773775796 15bit-784787-790793797 16bit-785788-791794798 24bit-786789-792795799
更多主题,可以从这里下载http://splashy.alioth.debian.org/wiki/themes/contrib

配置文件在/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> |
特别提醒:此事需高级用户,后果自负
本文作者:未知
源代码网供稿. |