On Mon, Sep 21, 2015 at 07:39:45AM +0200, Per Olofsson wrote: > > I guess something like this would work, but it does feel a little hacky. > > Well, the entire xdg-utils feels a bit hacky to me :-)
I won't disagree there. :) > Anyway, I took the opportunity to improve the $BROWSER launching code > and moving the defaults-setting to its proper place. I'm also working on > a test suite for xdg-utils so I added a test case for this particular > problem, so I can catch it if it happens again. Yes, your patch looks much nicer, and I can confirm that it fixes my case. Thanks for the quick turnaround! -Peff