Update Plymouth config to also display our startup graphics.
This commit is contained in:
parent
af98f4b9b0
commit
928b78280b
@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
nitrogen --set-centered background.png
|
||||
|
||||
xset s off # don't activate screensaver
|
||||
xset -dpms # disable DPMS (Energy Star) features.
|
||||
xset s noblank # don't blank the video device
|
||||
|
||||
unclutter -idle 5 -root & # hide cursor afer 5 seconds of inactivity
|
||||
|
||||
~/on-pi-startup.sh &
|
||||
~/on-pi-startup.sh & # start our default application
|
||||
|
||||
exec matchbox-window-manager -use_titlebar no
|
||||
sudo nitrogen --set-centered background.png # set X screen background
|
||||
|
||||
exec matchbox-window-manager -use_titlebar no # switch to our window manager
|
||||
|
||||
@ -34,6 +34,18 @@ Replace `$TAG` with whatever version is being built, e.g. `v1.2`.
|
||||
NODM_USER=pi
|
||||
NODM_FIRST_VT=8
|
||||
|
||||
1. In `/usr/share/plymouth/themes/ubuntu-mate-text/ubuntu-mate-text.plymouth`, set:
|
||||
|
||||
[ubuntu-text]
|
||||
title=chilipie-kiosk
|
||||
black=0x000000
|
||||
|
||||
1. In `/usr/share/plymouth/themes/ubuntu-mate-logo/ubuntu-mate-logo.script`, set:
|
||||
|
||||
Window.SetBackgroundTopColor (0, 0, 0);
|
||||
Window.SetBackgroundBottomColor (0, 0, 0);
|
||||
|
||||
1. Replace the Plymouth theme logos with `$ cd /usr/share/plymouth/themes/ubuntu-mate-logo && rm ubuntu-mate-logo{,16}.png && ln -s /home/pi/background.png ubuntu-mate-logo.png && ln -s /home/pi/background.png ubuntu-mate-logo16.png`
|
||||
1. Check that the version in `.chilipie-kiosk-version` matches `$TAG`, and it's on GitHub
|
||||
1. Get default scripts with `$ wget "https://github.com/futurice/chilipie-kiosk/archive/master.zip" && unzip master.zip && cp -v $(find chilipie-kiosk-master/home/ -type f) . && rm -rf chilipie-kiosk-master/ master.zip`
|
||||
1. Put in the example crontab with `$ crontab -e`:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user