GNOME settings: set Firefox as default, sets the command line to
firefox %s
Firefox does not recognize this string as the default browser, so it sets up:
/usr/lib/firefox/firefox "%s"
as the default browser. However, this is broken, not only due to lack of integration with GNOME. With Firefox's setting, ubuntu-bug breaks. If I call it with Firefox settings, the folloing URL fails to be opened:
It works fine with GNOME setting, not containing the local path leading the URL. Some way, calling Firefox by /usr/lib/firefox/firefox breaks opening URLs on the command line.
Also, GNOME settings for Firefox to open in new window and new tab are broken. When one of this is set
I found the problem in 7.04. Here it is:
GNOME settings: set Firefox as default, sets the command line to
firefox %s
Firefox does not recognize this string as the default browser, so it sets up:
/usr/lib/ firefox/ firefox "%s"
as the default browser. However, this is broken, not only due to lack of integration with GNOME. With Firefox's setting, ubuntu-bug breaks. If I call it with Firefox settings, the folloing URL fails to be opened:
file:// /home/fabio/ %22https: //launchpad. net/ubuntu/ +filebug/ 3ZJdXVjcYM2DH4k DR7Is7BHgz5e? %22
It works fine with GNOME setting, not containing the local path leading the URL. Some way, calling Firefox by /usr/lib/ firefox/ firefox breaks opening URLs on the command line.
Also, GNOME settings for Firefox to open in new window and new tab are broken. When one of this is set
firefox -remote "openurl( %s,new- window) " %s,new- tab)"
firefox -remote "openurl(
No new Firefox is opened. It only works if a Firefox is already running. For new tab and no Firefox opened, this error comes to the console:
Error: No running window found
The temporary solution is to use GNOME's setting with no new window / new tab option and hack Firefox settings to get the desired behavior.