Google sync on chromium

There has been discussion on the RPi forum concerning re-enabling google sync with chromium. See:
https://forums.raspberrypi.com/viewtopic.php?t=314477
The fix involves editing or adding a file named 00-rpi-vars to /etc/chromium-browser/customizations/ for 32-bit, or /etc/chromium.d/ for 64-bit systems.
The contents of the file start with “CHROMIUM_FLAGS=”${CHROMIUM_FLAGS}…"
I have tried this and it works in Raspberry Pi OS.

I am looking for a way to do this in manjaro, but I cannot find a similar file in /etc or in /home/.config/chromium

Is there a location where chromium will input such a file if added?

file for set options (but is not for enable sync!) is:

~/.config/chromium-flags

For enable sync, we can set env vars (is in your link !!!) GOOGLE_DEFAULT_CLIENT_ID and GOOGLE_DEFAULT_CLIENT_SECRET ; we can in ~/.local/share/applications/chromium.desktop

Exec=/usr/bin/env GOOGLE_DEFAULT_CLIENT_ID=xxx GOOGLE_DEFAULT_CLIENT_SECRET=yyy /usr/bin/chromium %U

ps: is not a fix, it’s in chromium documentation

Thank you for your quick reply.
I found chromium.desktop in /usr/share/applications/ and added the line you suggest, using the ID and SECRET values that worked in Raspi OS. Unfortunately this did not allow me to sign in to google.

I tried copying the file to /home/…/.local/share.applications/

This also did not work.

Please let me know if you have any idea on what the problem may be .

I did a bit more research and found the answer here:
https://stackoverflow.com/questions/67459316/enabling-chromium-to-sync-with-google-account

I created a file:
~/.config/chromium-flags.conf

and added the contents as shown in the link above. It works.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.