handling mailto: links running lxde - Solution
Posted: Thu Nov 06, 2014 9:55 pm
I was trying to resolve a problem I have with LXDE running on Debian 7.6 stable. When I have mailto links in Google Chrome, they open a new Chrome window that is blank, instead of my Preferred Application setting of the Mozilla Build of Thunderbird. I tracked down the problem to the code in /usr/bin/xdg-email and came up with a fix. I thought I'd share it for the benefit of anyone interested. xdg-email lumps lxde into the generic category. So, I edited the bash script to create a separate open_lxde function and set it to use the Preferred Applications setting. It is not all that much code changed. The full file can be found here. I just overwrote the system xdg-email.
Feel free to cross post this or whatever. I was looking at putting it in the LXDE wiki, but that doesn't seem to be set up/used for such things.
Feel free to cross post this or whatever. I was looking at putting it in the LXDE wiki, but that doesn't seem to be set up/used for such things.