Chromium ‑ Permanent Command Line Options
Archlinux versions of Chromium come with a launcher that reads command line options from a file before launching Chromium proper.
If for example I want to keep Chromium from wanting to open the GNOME keyring, this is a much more elegant solution than editing .desktop files.
Example help output:
$> chromium -h
Chromium launcher v8 -- for Chromium help, see `man chromium`
Custom flags are read in order from the following files:
/etc/chromium-flags.conf
/home/some_user/.config/chromium-flags.conf
Arguments included in those files are split on whitespace and shell quoting
rules apply but no further parsing is performed. Lines starting with a hash
symbol (#) are skipped. Lines with unbalanced quotes are skipped as well.
Currently detected flags:
--disable-infobars
--password-store=basic