Subject: update-alternatives failure to set/config x-www-browser

From: Tony Baldwin <[email-masked]>
Date: Mon, 5 Sep 2016 08:31:45 -0400

I have done
sudo update-alternatives --config x-www-browser about 50 times in this 
past week, and chosen chromium-browser as my goto/default, but links 
from icedove keep opening in iceweasel, no matter what.
???

Thanks,
Tony

-- 
http://tonybaldwin.me
all tony, all the time

---

From: Christian Seiler <[email-masked]>
Date: Mon, 05 Sep 2016 14:39:34 +0200

Hi,

>from icedove keep opening in iceweasel, no matter what.

Most GUI applications don't use x-www-browser (which is what update-alternatives controls) but either the xdg mime association system or mailcap. For icedove it's the former.

In your case, running

xdg-mime default chromium.desktop x-scheme-handler/http 
x-scheme-handler/https text/html

as a the user for which this should be set should do the trick.

Regards,
Christian

---

From: Tony Baldwin <[email-masked]>
Date: Mon, 5 Sep 2016 08:43:22 -0400

> as a the user for which this should be set should do the trick.
This did, indeed, do the trick!
Thanks!
./tony

-- 
http://tonybaldwin.me
all tony, all the time