How to set up a Raspberry Pi Kiosk - Launch a Fullscreen Webpage on Boot!

Thanks! I’ve decided to go a different route. But I let KI create a script - and it worked with xprintidle. :slight_smile:

2 Likes

Great guide! Thanks!

Implemented all for X11, boots ok, navigates to correct webpage etc, but I’m struggling with xdotool. I’m extremely fresh with this so fairly sure it’s a user issue!

I’ve tried to create a script to scroll down on webpage to view a specific, static location.

Tried using “click 5” and also “key Down”. Both work fine when I execute, but behave strangely on boot. Seems to repeat itself scolling way down after some time. Even delayed startup to give system time to wake up

sleep 90
xdotool key Down Down Down Down
done

Any help would be awesome!

Hey @Ross242430, welcome to the forums!

From my understanding adding done to this kind of script can result in the lines above it being treated as a loop which could be the cause of your issues.

I would try changing this code to something like this:

#!/bin/bash
sleep 90
xdotool key Down Down Down Down

and see if that changes anything.

Hope this helps! :slight_smile:

3 Likes

Thank you so much! I’ll try this as soon as i get home in a week. I spent far too long trying to find a solution to this before reaching out! Will let you know if it works. :blush:

3 Likes

Hi, I could use some help. I have followed the instructions and have been able to replicate this kiosk using the URL in the tutorial. However, I get the following error when I put the website I am trying to use.
“Unable to load display URL = ‘/?major=4’ . it may be incomplete or missing some details. Please share the screenshot with support”

I am able to put the URL in Chromium and bring up the webpage. Below is a copy of my script.

sleep 4
/bin/chromium-browser --kiosk --ozone-platform=wayland --start-maximized --noerrdialogs --disable-infobars --enable-features=OverlayScrollbar MangoDisplay &

I put zeros where to replace the numbers of my actual webpage for privacy. Any assistance would be much appreciated.

You have not included the page that you want to display. The url should be something like https://portal.mangodisplay.com/page1?major=4&minor=00000&macaddress=MD0000000000

Hey @Justin285177, welcome to the community!

From what I can see you may have more luck if you put your URL inside of quotation marks to ensure the whole thing is read as expected.

I would give this script format a go (changing the URL to your specific page).

sleep 4 /bin/chromium-browser --kiosk --ozone-platform=wayland --start-maximized --noerrdialogs --disable-infobars --enable-features=OverlayScrollbar "https://portal.mangodisplay.com/?major=0&minor=00000&macaddress=MD0000000000" &

Hope this helps!

1 Like

hello i followed raspberry-pi-kiosk-mode-setup is there a way to get a on screen keyboard to popup in kiosk mode can not figure it out!

thanks

Hello

I did everything as described in the instructions but somehow the autostart function doesn’t work. But if I run the file directly, everything works as it should. But when I restart pi nothing is executed but only the desktop is displayed. Could anyone help me with what I could do?
Thanks

Hi Daniel,

You will be able to get an onscreen keyboard for your setup by following this guide: Touch Screen Configuration: Kiosk mode + virtual keyboard setup

Hi there, I’m following this to set up a catalog kiosk for a library. however i need to block people from accessing the social links on the webpage. is there a way for me to whitelist/blacklist domains?

1 Like

Hey @Zedzzzzzz,

Unfortunately, this doesn’t seem to be something that the Wayland software is capable of. The standard way to blacklist domains is by using a DNS blocker but in your case, this may be a few steps too complex.

My recommendation would be to locally edit the webpage to remove the links, then save the page as a HTML doc on the Pi. Depending on the specifics of the webpage you are trying to display this may require some trial and error but this method seems easier than the alternative to me.

1 Like