Skip to content

Conversation

@tim-littlefair
Copy link

On RPi02W, the browser block is not in kiosk mode without and input device (mouse/pointer/keyboard) because a modal warning is displayed that the device has less memory than is recommended. Without input capability this cannot be dismissed. Even with an input device, the warning is annoying (and will be displayed twice because chromium is executed to discover the version number before running to set up the web window)

This PR modifies the start scripts to insert flag --no-memcheck into the command line on this device only.

This PR replaces #186, and is more minimal.

When running on this low-resource platform, patch /home/chromium/index.html
to remove <script> elements which load Bootstrap and JQuery libraries.
Modify startup scripts to ensure that chromium runs with --no-memcheck
on RPiZero2W.   If this flag is not specified the wrapper script
/usr/bin/chromium will cause a modal dialog containing a low memory
warning to be displayed - on display-only systems with no mouse/pointer
device this makes the intended content to be displayed unreachable.
@flowzone-app
Copy link
Contributor

flowzone-app bot commented Sep 9, 2025

A repository maintainer needs to approve these workflow run(s).

To approve, maintainers can either:

Submit an approval review on this pull request, OR

Submit a review comment starting with /deploy

Then re-run the failed job(s) via the Checks tab above.

Reviews must be on the specific commit SHA of the workflow run to be considered.

@tim-littlefair
Copy link
Author

I'm not quite sure why, but the 'Commits' view of this PR lists commits which don't contribute to its actual minimal effect.
Only the last commit #094ef59 was intended to be included. This covers only the two files start.sh and startx.sh, the changes to these look correct.

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

Successfully merging this pull request may close these issues.

1 participant