Chromium snap conversion: Command line options

In the snap version you can set CHROMIUM_FLAGS inside ~/.chromium-browser.init with the same content as /etc/chromium-browser/default

For example

CHROMIUM_FLAGS="--incognito"

Source: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1837746

Edit

In addition to the flags, snap application doesn't have access to /dev/shm. Please use one of the following solutions:

  • Install chromium in dev mode snap install chromium --devmode to disable confinement
  • Use /dev/shm/snap.chromium instead of /dev/shm in your flag