Subject: Re: bug#9779: No usable browser found on Lubuntu

From: Jan Djärv <[email-masked]>
Date: Tue, 18 Oct 2011 07:37:25 +0200

Hello.

18 okt 2011 kl. 01:14 skrev Juri Linkov:

> Clicking on a link doesn't open a Web browser as expected
> but fails with the error message "No usable browser found"
> on Lubuntu 11.10 (Ubuntu + LXDE) since its default web browser
> is Chromium, but Chromium is still not supported by browse-url.
> 
> The following patch will add its support to browse-url.el.  This code
> is basically like used for Firefox, but since there are no official
> command line switches like "-remote", "-new-window", "-new-tab",
> so tab/window/startup related options can't be used for Chromium.
> 
> 

> 
> +(defcustom browse-url-chromium-program
> +  (let ((candidates '("chromium" "chromium-browser" "chrome")))

Chrome also goes by the name google-chrome.  Since chromium and chrome isn't the same thing and you can have both installed, browse-url-chromium-program is not really the right name for it if it also tries chrome.

	Jan D.