Jump to content

Start firefox in kiosk mode on startup


Recommended Posts

Hello, I am a new user and have downloaded Armbian on LePotato AML-S905X-CC. I am looking for a way to get Firefox to start up in kiosk mode with a specified website, but can't seem to do it. Does anyone know how I can get Firefox to start up in kiosk mode with a specified website?

Link to comment
Share on other sites

firefox-esr --kiosk --private-window http://armbian.com

 

I think chromium is better for this, but I suppose it depends on what you are trying to load.

 

If using Xfce4 you could use Settings > Session and Startup.

 

I prefer using Openbox my self, as editing a file `.config/openbox/autostart` is more straight forward and makes it easier to load only the services you want.

 

cat .config/openbox/autostart
# Daemon
xfsettingsd &

# Display
xset s off &
xset -dpms &
xset s noblank &
unclutter &

# Background
feh --bg-fill /home/username/.background.png &

# Clean
rm -fdr ~/.cache/chromium &
rm -fdr ~/.config/chromium &

# Kiosk
sleep 5s
chromium --noerrdialogs --incognito --kiosk --force-device-scale-factor=1 --disk-cache-dir=/tmp/null --enable-features=WebUIDarkMode --force-dark-mode http://yourwebsite.whatever &


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines