其实非常简单:
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
更多主题,可以从这里下载.
配置文件在/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> |
特别提醒:此事需高级用户,后果自负.
|