Migrating a Business to Linux — 10
On our laptops we have no need for user mails. Those mails are managed elsewhere. Yet system mails are important to keep users informed of potential system issues. I installed the
I installed Thunderbird for a GUI mail client. I am comfortable using
mailx, but for this migration effort I wanted to make everything as easy as possible for everybody.
I sent a test email:
echo "This is a test." | mail -s “Testing” root@localhost
Within a second or two, the
mail-notification pop-up appeared.
I had configured the applet to open the mail reader. Nothing happened.
.xsession-errors log informed me the applet wanted to launch
evolution. That mail client is not installed.
I ran the following:
xdg-settings set default-url-scheme-handler mailto thunderbird.desktop
mail-notification applet wanted evolution.
$PATH environment variable always has
/usr/sbin. I created a sym link:
cd /usr/local/bin; ln -s /usr/bin/thunderbird evolution
mail-notification applet finally launched Thunderbird.
Hard-coding an app. Another classic WTF.