Geary is a great example of a polished and modern, single-purpose software. It’s open-source (becauase you don’t want others reading your emails) and pleasing to the eye, a combination not easy to come by.
Unfortunately, it’s a Linux-only app, or so I thought, or so it is. The following gives some guidelines on how to run Geary on Windows. It can be done, but requires many steps and it doesn’t work very well for the time being.
Issues running Geary on Windows 10
- Inconsistent behaviour of window maximize button, taskbar button and window resize handles. Possibly an issue of the X11 server.
- Frequent crashes:
Segmentation fault (core dumped)
- There’s no indication for attachments.
- Opening attachments doesn’t work on double click (dealbreaker!) but they can be still saved.
- Not very responsive; slow when opening emails.
- The sidebar cannot be resized.
Last but not least, although a feature and not a bug, Geary doesn’t have filter settings.
In an effort to appeal to my younger, less apt self, I will try to include several links (also as a better alternative to bookmarks) and parenthetic explanations of several terms. Feel free to contact me with your corrections and notes. Honestly, it’s hard writing this without appearing like a spam SEO post.
This was only feasible with the Windows Subsystem for Linux (WSL), a quite recent and very handy development that allows to run Linux apps on Windows. Of course, it is also mostly about command line or terminal apps. It has a few bugs here and there, but it mostly works. It is mostly useful to people that need certain tools that are not available on Windows, and yet they need to use this OS.
How to run Geary on Windows 10
1. Install WSL
2. Install X11
If you’re on a High DPI display, make sure to change the settings of the VcXsrv app accordingly, otherwise it texts and other elements will appear blurry. Go to
C:\Program Files\VcXsrv then right click on
xlaunch.exe → Properties → Compatibility → Change high DPI settings → ✔ Override high DPI scaling bevahior. Scaling performed by: Application.
Open the installed XLaunch app, ✔ Multiple Windows, set Display number to
-1 → Next > → ✔ Start no client → Next > → (leave the defaults) → Next > → Finish. You need to do this every time you need to run a graphical Linux app.
3. Install Geary
Now you need to open a Linux terminal. In case you installed Ubuntu for Windows, then look for this app. When you open it for the first time, you might be requested to create a superuser (equivalent to a Windows administrator). Make sure to make note of the password, because you will need it often. Have in mind that keyboard shortcuts for Copy/Paste don’t work. You can select text and right click to Copy it, or simply right clip to Paste.
Installing apps on Ubuntu is easy. First write
sudo apt-get update to update the references to the software repositories. Then run
sudo apt-get install geary and Geary along with almost all of its dependencies will be installed.
Try to run geary with the following:
DISPLAY=:0 geary and it should greet you with the setup window. You need to already have an email account and its settings.
4. Not there yet…
However, subsequent tries to open Geary failed. You likely need to install gnome-keyring as some threads on the Ubuntu forums suggest. This should be included in Geary’s dependencies, although I understand it is supposed to compliment the GNOME desktop environment. You can do this by running
sudo apt-get install gnome-keyring. Then more errors came up, this time caused by the X11 server:
D-Bus library appears to be incorrectly set up. Follow the following procedure to get over it:
sudo touch /var/lib/dbus/machine-id dbus-uuidgen
Select the text and right click to Copy the generated ID, then run:
sudo nano /var/lib/dbus/machine-id
Right click to paste, hit Ctrl+X to exit, type Y to confirm, then Enter to save. That’s pretty standard but again, this tutorial is for the newcomes to the terminal.
You can now just run
DISPLAY=:0 geary in the Ubuntu terminal to open Geary. It should be possible to create a Batch script to automate the proccess of running it. As WLS evolves, quirks may be less for Geary to be usable on Windows.