-
Notifications
You must be signed in to change notification settings - Fork 276
Browser Configuration
Philipp Kewisch edited this page Dec 21, 2025
·
1 revision
It is possible to configure the chromium browser using command line option.
to edit the list of options just edit the file /etc/chromium.d/00-rpi-vars or ~/scripts/start_chromium_browser using your favorite editor
here is a list of common flags:
| flag(s) | effect |
|---|---|
| --disk-cache-dir=/dev/null --disk-cache-size=1 | disable cache completely |
| --enable-features=OverlayScrollbar | hide fixed scrollbars |
| --force-device-scale-factor=2 | scale content, used for HiDPI displays (4k) |
It is possible to use Firefox instead of Chromium as follows:
- Run
sudo apt-get install firefox-esrto install Firefox ESR (you can also install a normal Firefox). - Edit
~/scripts/start_chromium_browserto instead call:firefox --kiosk $(/opt/custompios/scripts/get_url) - Optionally configure enterprise policies for browser restrictions and configuration (in case your terminal is interactive, or you want to install add-ons):
sudo mkdir -p /etc/firefox/policies- Create
/etc/firefox/policies/policies.jsonusing https://mozilla.github.io/policy-templates/