Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2735

General discussion • Re: Autostart with Chromium in Kiosk mode don't start

$
0
0
If you are using latest Raspbian that no longer works.

1. To start something automatically add an autostart entry to wayfire.ini

nano /home/$USER/.config/wayfire.ini

add in

[autostart]
runme = $HOME/myscript.sh





2. Then create a myscript.sh file under your home folder

#!/bin/sh
chromium-browser --start-maximized --incognito --user-data-dir=/home/$USER/.config/chromium2 --enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter --app=http://yourwebsite &


3. sudo chmod +x /home/$USER/myscript.sh

Statistics: Posted by schmitz71 — Mon Jan 22, 2024 7:02 pm



Viewing all articles
Browse latest Browse all 2735

Trending Articles