Skip to content

Commit

Permalink
Update Plymouth config to also display our startup graphics.
Browse files Browse the repository at this point in the history
  • Loading branch information
jareware committed Sep 4, 2016
1 parent af98f4b commit 928b782
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions home/.xsession
Original file line number Diff line number Diff line change
@@ -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

sudo nitrogen --set-centered background.png # set X screen background

exec matchbox-window-manager -use_titlebar no
exec matchbox-window-manager -use_titlebar no # switch to our window manager
12 changes: 12 additions & 0 deletions image-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit 928b782

Please sign in to comment.