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:
~/snap/chromium/current/.config/
Thanks for quickly response! I just tried it and it doesn’t work.
Have you tried ~/.chromium-browser.init
?
See https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1837746 and https://askubuntu.com/questions/1214392/chromium-snap-conversion-command-line-options
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.
2 Likes
This work, thank you so much!
This is what worked for me: creating and adding CHROMIUM_FLAGS="--someflag"
to ~/.chromium-browser.init