fagnic
Posts: 4
Joined: Mon Jul 29, 2019 6:24 am

Pi4 dual screen setup kiosk mode

Mon Jul 29, 2019 7:14 am

Hi to all
As newbie here I have a demand on Pi4 to setup kiosk on both displays (Chromium or Firefox)

Kind regards

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: Pi4 dual screen setup kiosk mode

Mon Jul 29, 2019 8:49 am

Cool.

But what is your question?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

fagnic
Posts: 4
Joined: Mon Jul 29, 2019 6:24 am

Re: Pi4 dual screen setup kiosk mode

Mon Jul 29, 2019 10:00 am

The case is that both displays working OK
But I would like to setup when Pi boots automaticly opens both screens
1st screen automatically opens Chromium and open webpage in kiosk mode
2nd screen also opens another webpage which can be the same or not
Its not mandatory to be Chromium
KR

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: Pi4 dual screen setup kiosk mode

Mon Jul 29, 2019 11:39 am

So, you can have 2x1080p60 displays or 2x4kp30 displays.

You can run stuff on startup, that's a common question. Just open two instances of Chromium or whatever.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

fagnic
Posts: 4
Joined: Mon Jul 29, 2019 6:24 am

Re: Pi4 dual screen setup kiosk mode

Mon Jul 29, 2019 12:12 pm

The main question is
How to automatically open two instances of Chromium

fagnic
Posts: 4
Joined: Mon Jul 29, 2019 6:24 am

Re: Pi4 dual screen setup kiosk mode

Thu Aug 08, 2019 11:20 am

Anyone ?

Purdy
Posts: 1
Joined: Fri Feb 14, 2020 1:40 pm

Re: Pi4 dual screen setup kiosk mode

Fri Feb 14, 2020 10:15 pm

Hello. After reading many posts and trying a lot i found this solution. I hope it helps.
Very important is the '&' character after the first chromium call. There are also many parameters included that are very useful in kiosk mode.
Place this 2 lines into your startup file.

@chromium-browser --new-window --user-data-dir=/tmp/browser-1 --window-position="0,0" --start-fullscreen --kiosk --autoplay-policy=no-user-gesture-required --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null http://google.com &

@chromium-browser --new-window --user-data-dir=/tmp/browser-2 --window-position="1920,0" --start-fullscreen --kiosk --autoplay-policy=no-user-gesture-required --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null http://bing.com

Pittsie
Posts: 1
Joined: Thu Feb 20, 2020 4:23 pm

Re: Pi4 dual screen setup kiosk mode

Thu Feb 20, 2020 4:28 pm

I am trying this now and for some reason it simply opens both browser instances in one screen.
Any possible solutions?

cgdza
Posts: 2
Joined: Wed May 20, 2020 10:49 am

Re: Pi4 dual screen setup kiosk mode

Wed May 20, 2020 3:04 pm

Purdy wrote:
Fri Feb 14, 2020 10:15 pm
Hello. After reading many posts and trying a lot i found this solution. I hope it helps.
Very important is the '&' character after the first chromium call. There are also many parameters included that are very useful in kiosk mode.
Place this 2 lines into your startup file.

@chromium-browser --new-window --user-data-dir=/tmp/browser-1 --window-position="0,0" --start-fullscreen --kiosk --autoplay-policy=no-user-gesture-required --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null http://google.com &

@chromium-browser --new-window --user-data-dir=/tmp/browser-2 --window-position="1920,0" --start-fullscreen --kiosk --autoplay-policy=no-user-gesture-required --incognito --noerrdialogs --disable-translate --no-first-run --fast --fast-start --disable-infobars --disable-features=TranslateUI --disk-cache-dir=/dev/null http://bing.com
hello,

Thanks manged to get it working with these settings. Thank you.

I have a quick question - My display 2 is not centred correctly, is there a way to recenter is using the

Code: Select all

--window-size=1920,0

Return to “General discussion”