261
edits
m (→Prerequisites) |
|||
Line 20: | Line 20: | ||
Do the following to setup the device to display the URL of your choice. | Do the following to setup the device to display the URL of your choice. | ||
===== /etc/xdg/openbox/autostart ===== | ===== /etc/xdg/openbox/autostart ===== | ||
Replace the contents of this file with the following: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
# Disable any form of screen saver / screen blanking / power management | # Disable any form of screen saver / screen blanking / power management | ||
Line 53: | Line 53: | ||
#chromium --disable-infobars --kiosk --noerrdialogs --enable-features=OverlayScrollbar --disable-restore-session-state --force-device-scale-factor=1.50 $URL | #chromium --disable-infobars --kiosk --noerrdialogs --enable-features=OverlayScrollbar --disable-restore-session-state --force-device-scale-factor=1.50 $URL | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===== Add kiosk user ===== | ===== Add kiosk user ===== | ||
We will add a user called kiosk that will autologin and display the web page we defined in the script above. | We will add a user called kiosk that will autologin and display the web page we defined in the script above. |