Kamil Choudhury

#define ZERO -1 // oh no it's technology all the way down

Evolution on KDE

Data loss shuffle

After a few too many instances of NTFS eating my work-in-progress on Windows, I recently decided to move my day-to-day workflow over to a ZFS-on-root FreeBSD system.

I installed KDE 5 (a story for another day), and started sifting through my options for mail management. A few short years ago, this would have been a showstopper as my company uses Microsoft Exchange. Now that Microsoft has inexplicably started shitting interoperability rainbows, I can simply install mail/evolution and be off to the races:

pkg install evolution evolution-ews

Evolution started up beautifully, although it did look a little out of place... it is a GNOME application running on KDE after all.

Irritant

While I did not have any problems setting up my account, whenever I refreshed my inbox, despite selecting the "store my credentials in the GNOME keyring" option, Evolution wanted me to re-enter my password

Oh wait, I'm on KDE.

The Fix

Give Evolution exactly what it wants:

pkg install gnome-keyring

Set up a little rc script for the newly installed package:

# nano /usr/local/etc/rc.d/gnome_keyring
#!/bin/sh

. /etc/rc.subr

name=gnome_keyring
bin=gnome-keyring-daemon
rcvar=gnome_keyring_enable

command="/usr/local/bin/${bin}"

load_rc_config $name
run_rc_command "$1"

Enable it in /etc/rc.conf:

gnome_keyring_enable="YES"

And start the keyring:

service gnome_keyring start

I haven't seen a password prompt in about two days now, so I'm assuming the case is closed.

Bring in the dancing lobsters.