[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iceweasel always requesting to be default browser



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roman Stöckl-Schmidt wrote:
> Michael M. schrieb:
>> So what is your default browser?  Do you have iceweasel set as the
>> default in any DE you are using, if you are using one?  What does
>> update-alternatives report?
> 
> Okay, I'm using Gnome and in the preferred applications settings or
> whatever it's called in english it says custom with the command to run
> the application set to "/usr/lib/iceweasel/firefox "%s". When I set it
> to iceweasel in the dropdown menu and start iceweasel, it gives me the
> "I'm not your default browser, buhu"-crap again. And when I confirm to
> let the app set itself as default the etnry in the default app-settings
> from Gnome are as they were in the beginning.
> 
> So apparently everything is fine but iceweasel doesn't detect that the
> entry it made itself is actually iceweasel as the default rather than
> some other program. easiest workaround for now would be to just disable
> the warning in iceweasel, butr the underlying problem wouldn't be solved
> by that, now would it?
> 
> Assuming that you guys don't really now what to do to change this
> behaviour either, apart from filing a bug report to change the source, I
> have only one more question: Where should I file this, is it a debian
> related problem, firefox or Gnome?
> 
> Thanks again.
> 
> P.S.: I've never used update-alternatives before but couldnt really
> figure out how to use it in my case from the man page. I did
> 
> #update-alternatives --display firefox
> #update-alternatives --display /usr/bin/firefox
> #update-alternatives --display /usr/bin/firefox
> #update-alternatives --display browser
> 
> and they all returned no alternatives for $command
> 
> 

Keep in mind, that Firefox main target is Windows, and while Iceweasel
is Debian's fork of the project, I suspect much of the code is specific
to Windows, including that "default browser".  I would suggest you just
turn off the feature in IceWeasel, which you can do by going to Edit ->
Preferences, Main tab, uncheck "Always check to see if Iceweasel is the
default browser".

Your problem will go away.

As for the update-alternatives, you've got the --display right, but you
should be looking for www-browser instead of browser.

#update-alternatives --config www-browser

Should allow you to choose the default.

If Iceweasel isn't one of the choices, then you need to tell
update-alternatives that IceWeasel is a candidate for www-browser.  You
do that with the --install parameter.

Amazing what one learns when reading the manual.  Just yesterday I was
arguing about modifing the symlinks directly and it was suggest that I
read that man page.

Joe
- --
Registerd Linux user #443289 at http://counter.li.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+8AUiXBCVWpc5J4RAnwxAJ4lp5b5dbt6w8nz2A9DrBFC9uCGfgCfU4Dk
o/0azt4n4sOHPKxkUqX1h9U=
=C3vV
-----END PGP SIGNATURE-----



Reply to: