Setting up kiosk mode
First we'll set up our pi to boot into a slim window environment using X and Chrome so we can interact with DWC2, which we're going to install later, on.
Let's install some dependencies.
Openbox is a window manager. It doesn't include any kind of menu or gui that you might expect with a normal desktop environment. This is good, we don't need it.
We'll need to edit /etc/xdg/openbox/autostart and replace it's contents with the snippet below.
Please note, you need to edit it to match the IP address of your pi
Next you'll want to edit your ~/.bash_profile to include the line below.
This is going to start X automatically when we log in. That in turn, will automatically launch chrome which we configured in the previous step.
Last updated