Skip to content

Browser Configuration

Philipp Kewisch edited this page Dec 21, 2025 · 1 revision

Chromium Configuration

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)

Using Firefox

It is possible to use Firefox instead of Chromium as follows:

  1. Run sudo apt-get install firefox-esr to install Firefox ESR (you can also install a normal Firefox).
  2. Edit ~/scripts/start_chromium_browser to instead call: firefox --kiosk $(/opt/custompios/scripts/get_url)
  3. Optionally configure enterprise policies for browser restrictions and configuration (in case your terminal is interactive, or you want to install add-ons):
    1. sudo mkdir -p /etc/firefox/policies
    2. Create /etc/firefox/policies/policies.json using https://mozilla.github.io/policy-templates/

Clone this wiki locally