Preferred Application is not save when set to custom

Asked by Alex Lourie

I have both firefox (3.0.11) and firefox-3.5 installed.

I'd like ffirefox-3.5 to be the default browser. I go to Preferred Applications, for browser I select "Custom" and write the command as "firefox-3.5 %s". Then I press Close button (as it is the only button).

Some applications still use firefox 3.0.11 as default browser. Checking the settings shows that previous settings wasn't preserved.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

You may try some options:
firefox-3.5
or
firefox-3.5 %u

#check if setting is the same in the output of:
gconftool --get /desktop/gnome/url-handlers/http/command

#check if
firefox-3.5-gnome-support
is installed.

Firefox should be closed and after changes restarted.

Revision history for this message
Alex Lourie (alourie) said :
#2

@Sam

Thanks for the help.

I think that major problem for me here is that I can't understand how the "preferred" application is saved. So, I did set something in the panel. I clicked "close" button, as it is the only one there is. This didn't save the firefox-3.5 as the default browser.

What am I doing wrong? Why the settings panel is not that intuitive - I mean why there's a "close" button but no "save" button?

Revision history for this message
Alex Lourie (alourie) said :
#3
Revision history for this message
Sam_ (and-sam) said :
#4

From what I've read, others had no issue with
firefox-3.5 %s
in preferred apps -> custom after reboot.

Which command is in applications -> internet -> Shiretoko Web Browser?

Do you save sessions? You may take a look in system preferences -> sessions
which firefox is actually running or in case additionally running in autostart.

Was it an installation via regular sources?

http://www.asoftsite.org/s9y/archives/161-guid.html

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Why not simply use:

sudo apt-get --purge remove firefox; sudo apt-get --purge autoremove; sudo mv /usr/bin/firefox /usr/bin/firefox-3.0; sudo ln -s /usr/bin/firefox-3.5 /usr/bin/firefox

You can then keep the default as 'firefox' but it is simply a symlink to 3.5

Revision history for this message
Alex Lourie (alourie) said :
#6

@Sam:

Yes, just sudo apt-get install firefox-3.5.

But the problem is not really in firefox - it is in the system preferences. No matter what I do, the custom command cannot be entered as the program to run as default browser.

@actionparsnip:

That would be a nice, but nevertheless dirty trick. I want it to work the simplest way possible.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

I'd say 2 commands was fairly simple.

Revision history for this message
Alex Lourie (alourie) said :
#8

Simple for you, and maybe me, but not general user. Do you really expect a user to go for this as a general solution?

And what if I want to run my own alexFox browser? Again should I relink a "firefox" to it? And what if it is Chromium? Or whatever?

What is the *generic* and *simple* procedure for setting the default browser?

Revision history for this message
Best Sam_ (and-sam) said :
#9

To be honest, in my view the mix of two versions is an issue. Doesn't seem to be consistent and thought out to the end, concerning the strong differences between the two.
Some recommended not to remove 3.0* because of dependencies with other apps. Can this be the final answer of having two versions installed? Yes, at least in Jaunty when I read the FAQ from Alex.

e.g.
http://queleimporta.com/setting-firefox-3-5-as-default-browser-system-wide-in-ubuntu/
http://slashdot.org/comments.pl?sid=1305859&cid=28726757

Bottom line, why some have the issue and others not, with preferred apps?
Cheer up.
http://queleimporta.com/9-ways-to-fail-better/

Revision history for this message
Alex Lourie (alourie) said :
#10

Thanks Sam. I will do this, but I also filed a bug that custom command doesn't get saved.

I just tested it in 8.04.03 I have, and there it works fine. The problem is in Karmic.