make xdg-email respect non-de environments

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

make xdg-email respect non-de environments

Postby r0b0tl0ve » Apr 12th, '13, 02:31

Backstory: I love fluxbox, and I prefer it over any DE. One problem I've observed on a variety of linux distros is that if you use chrome or chromium, and you click on a mailto: link, instead of the mailto opening in your mail client of choice, like it does in firefox, instead it uselessly opens up a new chrom{e,ium} window. Turns out, chrom{e,ium} uses xdg-email to make this decision. A simple edit to xdg-email, and I got chromium opening mailto links in my preferred client, claws. Here's the patch:

update: I tried applying my diff earlier and found I didn't make it correctly. This one applies with patch < /path/to/patchfile, provided you're in /usr/bin

http://pastebin.com/37Ch5Xj5
r0b0tl0ve
 
Posts: 22
Joined: Apr 12th, '13, 02:00

Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron