Autostart Chromium After Node-Red Starts

UPDATE:

Found some more neat commands for chromium. Running the script above does work, but you will, at times, be prompted with messages from chromium.
Example: "Chromium is not your default browser" & "Chromium did not shut down properly, restore pages?"

To hide these alerts you can use this command instead. Note that some of these commands may be redundant, I havn't played with it since I got this working.

The --start-fullscreen command can probably be omitted because it is using the --app= command instead.

DISPLAY=:0 chromium-browser --disable-infobars --noerrdialogs --app=http://localhost:1880/ui -start-fullscreen;

4 Likes