How to add chromium flags to snap chromium?

I want to add ‘–gtk-version=4’ flag to snap chromium. In normal deb version, add that flag to ~/.config/chromium-flags.conf would work. This is not work in a snap version chromium. Please help, Thank you!

have you tried putting it into the snap home of chromium under:


Thanks for quickly response! I just tried it and it doesn’t work.

Have you tried ~/.chromium-browser.init?

See and

I could also be that the snap version of Chromium, or the libraries included with the snap, are not built to support the GTK 4 version.


This work, thank you so much!