From b6412bbe2d39436d7b8b6d389a2eed760d08b6d9 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 Sep 2025 09:57:33 +0300 Subject: [PATCH] n/chromiumflags: document these so I can stop looking them up again and again --- n/chromium.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 n/chromium.md diff --git a/n/chromium.md b/n/chromium.md new file mode 100644 index 0000000..da352c2 --- /dev/null +++ b/n/chromium.md @@ -0,0 +1,28 @@ +--- +title: Chromium launch flags +excerpt: + List of Chromium terminal flags that I keep forgetting and missing + occassionally. +layout: mini +permalink: /n/chromium.html +redirect_from: + - /n/chromiumflags.html + - /n/chromeflags.html +sitemap: true +lang: en +robots: noai +--- + +# Chromium terminal flags + +- `--ozone-platform=wayland` - Start with `wayland` instead of `X11`. For + automatic try `--ozone-platfor-hintm=auto` instead +- `--disk-cache-dir='/dev/null'` - Disable disk cache (Chromium equivalent of + `browser.cache.disk.enable;false`) +- `--enable-features=WaylandWindowDecorations` - Wayland title bar etc.? No + idea, everything just has it. TODO! +- `--profile-directory=Default` - Chromium profile. Doesn't match the profile + name specified in profile manager? +- `--app-id=` - when autostarting a PWA, this is the appid. +- `--app-run-on-os-login-mode=windowed` - when autostarting a PWA; this opens it + in a PWA window. TODO: What are the other modes than `windowed`?