[Reportbug-maint] Bug#536873: Bug#536873: reportbug ignores the "prefered browser" gnome setting

Sandro Tosi morph at debian.org
Wed Jul 29 14:59:33 UTC 2009


On Wed, Jul 29, 2009 at 12:30, Alexandre Fournier<brutus at free.fr> wrote:
> Selon Sandro Tosi <morph at debian.org>:
>
>> Hello Alexandre,
>>
>> On Tue, Jul 14, 2009 at 12:32, Alexandre Fournier<brutus at free.fr> wrote:
>> > Package: reportbug
>> > Version: 4.5
>> > Severity: minor
>> >
>> > Hello, when I start the reportbug tool, I get a ling to the homepage of
>> > reportbug project. When clicked, it starts epiphany whereas my prefered
>> > browser is set to "iceweasel".
>>
>> How did you condifure iceweasel to be your preferred browser?
>>
>
>
> Hello, Sandro, there is a "per-user" setting for the preferred browser in the
> gnome environment. It can be reached by the systems -> settings -> preferred
> apps (or something alike, I am translating from french).
>
> As far as I know, it seems to set a few keys in the ~/.gconf folder :
>
>
> [12:26:43 fou at leila:~]$grep -r iceweasel .gconf/desktop/
> .gconf/desktop/gnome/url-handlers/http/%gconf.xml:              <stringvalue>iceweasel
> -new-tab &quot;%s&quot;</stringvalue>
> .gconf/desktop/gnome/url-handlers/about/%gconf.xml:             <stringvalue>iceweasel
> -new-tab &quot;%s&quot;</stringvalue>
> .gconf/desktop/gnome/url-handlers/https/%gconf.xml:             <stringvalue>iceweasel
> -new-tab &quot;%s&quot;</stringvalue>
> .gconf/desktop/gnome/url-handlers/unknown/%gconf.xml:           <stringvalue>iceweasel
> -new-tab &quot;%s&quot;</stringvalue>
> .gconf/desktop/gnome/applications/browser/%gconf.xml:           <stringvalue>iceweasel</stringvalue>
>
>
> Most of the gnome apps (pidgin, xchat) seem to follow that setting

this is because they use 'xdg-open' to open the configured browser,
while reportbug uses sensible-browser, because it's flexible and
chooses the correct browser based on the enviroment it's executed.

Note that xdg-open is not suitable to be used outside a graphical
environment, as many times happen when using reportbug. In fact,
reportbug is not a gnome/GUI application, it just has a GUI frontend
to the main core, and I bet several users still prefers text UI (or
need to use reportbug in a non-graphical environment).

My best suggestions is to convince sensible-utils maintainers (the
package that contains sensible-browser) to use xdg-open if executed in
a graphical environment, since we stay with sensible-browser.

If you agree, I'd close this bug.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list