系统启动时的背景

各种窗口管理器和美化相关
回复
hilton000
帖子: 3
注册时间: 2020-09-08 11:33
系统: 18.04

系统启动时的背景

#1

帖子 hilton000 » 2020-09-08 14:48

已经更换了 /usr/share/plymouth/themes/下的启动背景,开机时,背景显示正常,系统设置为自动登录,但是在背景消失后,进入桌面前,会有紫色的背景一闪而过,请问怎么能去掉这个紫色
头像
astolia
论坛版主
帖子: 6570
注册时间: 2008-09-18 13:11

Re: 系统启动时的背景

#2

帖子 astolia » 2020-09-09 11:16

只更换了图片?里面的xx.script脚本还定义了背景色,搜索SetBackground,把参数值改一下
hilton000
帖子: 3
注册时间: 2020-09-08 11:33
系统: 18.04

Re: 系统启动时的背景

#3

帖子 hilton000 » 2020-09-09 13:13

/usr/share/plymouth/themes/uplayer$ cat uplayer.script
# uplayer
Window.SetBackgroundTopColor(0,0,0);
if(Plymouth.GetMode()=="boot")


颜色已经改成黑色了,在图片消失后,一瞬间闪一下紫色,还没铺满整个屏幕就过去了
hilton000
帖子: 3
注册时间: 2020-09-08 11:33
系统: 18.04

Re: 系统启动时的背景

#4

帖子 hilton000 » 2020-09-09 13:18

/usr/share/plymouth/themes/uplayer$ cat uplayer.script
# uplayer
Window.SetBackgroundTopColor(0,0,0);
if(Plymouth.GetMode()=="boot")
颜色已经改了,图片显示完以后,有一瞬间显示紫色,还没铺满屏幕就过去了
回复