n/chromiumflags: document these so I can stop looking them up again and again

This commit is contained in:
Aminda Suomalainen 2025-09-20 09:57:33 +03:00
parent 6b8baba59f
commit b6412bbe2d
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723

28
n/chromium.md Normal file
View File

@ -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`?