Geary With Gmail, (Mostly) Without GNOME
Geary is a lightweight email client for GNOME, but it can run on other desktop environments. Most modern desktops, as long as you have some app for contacts and some keystore (KWallet seems to work as well as gnome-keyring), will handle most of the issues in the Geary FAQ. Iâm running Geary and GNOME Contacts quite happily on LXQt.
Some email providers require OAuth login, and Geary uses GNOME Online Accounts for that. You can install gnome-online-accounts without a full GNOME desktop (at least on some distributions â Iâve used it with Alpine Linux and Arch. And it works fine in the backgroundâŚbut you canât configure it without a full GNOME environment. Even if you install the Gnome Control Center by itself, it refuses to run under other desktops!
So the roundabout solution:
- Install and start GNOME.
- Configure Gmail (and any other accounts you want to connect for GNOME Apps â like Nextcloud for syncing contacts and/or calendar, or an Exchange server, etc.[1]) using Gnome Settings->Online Accounts.[2]
- Switch back to your preferred desktop.
- (Optional): Uninstall GNOME except for gnome-online-accounts. (But see update below.)
Iâve got this running perfectly on two desktops. The only GNOME packages I have on them are geary, gnome-contacts, and gnome-online-accounts, plus one uses gnome-keyring and the other uses KWallet.
Update (June 6): If the Gmail, Microsoft, etc. sessions expire, you may not see an error message in Geary. It just silently fails[3]. And youâll need to re-install GNOME in order to see the errors in Gnome Settings and re-authorize them.