From dfe3152b1fb4175871068a332810a1d14ecfd457 Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Tue, 14 Aug 2018 10:27:42 +0300 Subject: [PATCH] Updating docs & scripts for rc5. --- home/first-boot.html | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/home/first-boot.html b/home/first-boot.html index 551c1e1..0a0d9a7 100644 --- a/home/first-boot.html +++ b/home/first-boot.html @@ -895,16 +895,16 @@ github.com style (c) Vasily Polovnyov

Setting the URL

Press F11 to exit the full screen mode, and Ctrl + L to focus the location bar. Navigate away! Once done, press F11 again to re-enter full screen mode.

Chromium is configured to remember the URL where you left off (and all logins, etc), so this might be all the configuration you need to do!

-

Getting to a terminal

-

You can get to a virtual terminal by pressing Ctrl + Alt + F2, and logging in with username pi and password raspberry. Use Ctrl + Alt + F1 to switch back to Chromium.

System configuration

-

Use sudo raspi-config in the terminal to do things like:

+

You can access the raspi-config utility by pressing Ctrl + Alt + F2. With it, you can do things like:

+

Pressing Ctrl + Alt + F1 takes you back to Chromium.

Automating things

There's a few commonly useful snippets already on the crontab, such as:

-

Use crontab -e to check these out, enable the ones you want, or customize them to your heart's content.

+

Press Ctrl + Alt + F3 to get to a virtual terminal, use crontab -e to check these out, enable the ones you want, or customize them to your heart's content.

+

Again, pressing Ctrl + Alt + F1 takes you back to Chromium.

Customizing Chromium

-

Because you're running a fully-featured Chromium, you can customize it further by installing browser extensions. For instance, Tampermonkey can be useful for injecting custom JS or CSS to a page you're displaying.

+

Because you're running a fully-featured Chromium, you can customize it further by installing browser extensions. For example:

+ +

Finally, further tweaks can be made by changing the Chromium command line switches in ~/.xsession. For example:

+
--unsafely-treat-insecure-origin-as-secure=http://shady.example.com,http://another.example.com --user-data-dir=/home/pi/.config/chromium

Adding these options will allow you to mix secure (i.e. HTTPS) origins with insecure ones (you need to specifically white-list them). Sometimes you need stuff like this to pull together all the bits and pieces of your dashboard from different origins. We're not saying you should. But you can.

+

Username and password

+

If you need to login to a shell, the default username and password are pi and raspberry, as is tradition for Raspberry Pi. The pi user also has sudo access.

Adjusting your resolution

If the display auto-detection fails and chooses a funky default resolution for you, there's a few things you can do to try and fix that.

Replacing the boot graphics

The image that's displayed while the kiosk is starting can be changed by just replacing ~/background.png.

-

To change the default chilipie-kiosk boot graphics to a nice doge, for example, try wget -O background.png https://bit.ly/2w1P4Il.

+

To change the default chilipie-kiosk boot graphics to a nice doge, for example, try wget -O background.png bit.ly/2w1P4Il.

Increasing boot show delay

By default, the browser window is hidden for a few seconds after boot, to give the page time to load. You can increase (or decrease) this delay in ~/.xsession.