Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

perhaps some extra switches to add to chromium #16

Open
steverweber opened this issue Mar 19, 2020 · 2 comments
Open

perhaps some extra switches to add to chromium #16

steverweber opened this issue Mar 19, 2020 · 2 comments
Labels
feature Feature request / suggestion
Milestone

Comments

@steverweber
Copy link

I do some kiosk stuff using chromium.
Perhaps some of these other switches might be helpful to add.

Thanks for working on this :)

chromium --no-sandbox --start-fullscreen --disable-infobars http://127.0.0.1

# fresh file space to ensure no unsafe shutdown warning if browser crashed...
rm -rf /tmp/kiosk || true ; mkdir /tmp/kiosk || true
# --test-type               # removes warnings about security
# --no-sandbox              # needed when running as root
# --disable-web-security    # allow local files and CORS
# --check-for-update-interval=10 # 10 seconds show update box fast for testing..(default is like ~7h)
# --simulate-critical-update     # shows update as an icon hidden from user when in fullscreen
chromium-browser --test-type --no-sandbox --disable-web-security --user-data-dir=/tmp/kiosk \
    --window-position=0,0 --start-fullscreen \
    --check-for-update-interval=3628800 --simulate-critical-update \
    --disable-session-crashed-bubble --disable-restore-session-state \
    --noerrdialogs --disable-infobars \
    --enable-fast-unload --enable-tcp-fast-open --dns-prefetch-disable \
    --enable-logging=stderr \
    --kiosk http://127.0.0.1/index.html
@steverweber
Copy link
Author

help prevent a popup if chrome is out of date.
--simulate-critical-update --check-for-update-interval=36288001

passed to the service journal.
--enable-logging=stderr

not sure why but chrome seemed to want to load at 10,10
--window-position=0,0

@Torxed Torxed added the feature Feature request / suggestion label Mar 20, 2020
@Torxed
Copy link
Owner

Torxed commented Mar 20, 2020

Thank you for the feedback and information.
I'll go through the switches and make sure they all work in the latest version of chromium, as these tend to get added/removed quite regularly. But they look really useful, so I'll try to get them into the first stable release! : )

@Torxed Torxed added this to the v1.0 milestone Mar 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Feature request / suggestion
Projects
None yet
Development

No branches or pull requests

2 participants