系统启动后,应用还未准备启动前,可以使用"psplash"应用来实现,启动进度条。动画的背景图可以自定义,psplash的图片是由头文件来描述。下面是制做图片的步骤 In order to change the displayed image, you need to first download the "psplash" package source code from here. The next steps are as follows:
先安装必要的软件包
apt-get install libgdk-pixbuf2.0-dev
使用./make-image-header.sh 脚本制做新的头文件
./make-image-header.sh <path_to_image_file> <NAME>
添加图片头文件到psplash.c文件中
- #include "psplash-poky-img.h" + #include "<your_logo_filename>-img.h"