diff --git a/home/.xsession b/home/.xsession index f42fe62..e360328 100755 --- a/home/.xsession +++ b/home/.xsession @@ -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 diff --git a/image-setup.md b/image-setup.md index 5658c34..3c1c3a1 100644 --- a/image-setup.md +++ b/image-setup.md @@ -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`: