Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc change: Add additional chromium flags #275

Open
mhellmeier opened this issue Jul 3, 2021 · 1 comment
Open

Doc change: Add additional chromium flags #275

mhellmeier opened this issue Jul 3, 2021 · 1 comment

Comments

@mhellmeier
Copy link
Contributor

mhellmeier commented Jul 3, 2021

The documentation suggests adding the following lines to allow a kiosk mode at startup with the chromium browser:

@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --incognito --kiosk http://localhost/

When using the application with a touchscreen, two problems appear:
First, the chromium browser allows swiping left and right to go to the previous or next page. This results in some click point errors in the gallery. I would suggest adding the following flag to disable this feature: --overscroll-history-navigation=0.

Second, the error message Can not update Chromium appears after some time. This is a known bug on Raspbian (see this SO question). I would suggest adding the --disable-component-update flag and follow the workaround describes here.

Together, this results in the following: @chromium-browser --incognito --overscroll-history-navigation=0 --disable-component-update --kiosk http://localhost/

@mhellmeier
Copy link
Contributor Author

It is also useful to add the --disable-pinch flag to disable zoom events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant