What exeterdad is saying is that your $BROWSER variable might not be set to firefox, and that something might have gone wrong with your editing of .bashrcI think the browser_vl command in the launcher of the docs calls browser, which in turn depends on the $BROWSER variable. Don't ask me why.

You can see what the $BROWSER variable is currently set to by doing:

Code:

echo $BROWSER

If it still says seamonkey, open up a console and do:

Code:

export BROWSER=firefox

It should then be set for firefox, BUT it won't be applied to another console or survive reboots... that's why it needs to go in the .bashrc (or /etc/profile if you want to apply it to all users).If the line that does the export BROWSER command to firefox in uncommented, and the other export $BROWSER lines are commented, then it should work and if it doesn't, I'll be puzzled.

Of course, you can always edit the launcher like overthere said and put the firefox command there directly, instead of browser. But a more robust solution is fixing the $BROWSER variable. Or even get rid of the icon and bookmark the file in firefox.

Now that I think about it, It might be an idea to develop a vector utility to change the $BROWSER variable in .bashrc or /etc/profile.

Like I said, I'm puzzled. Strange that with $BROWSER set to firefox, the vl-docs laucher still goes for seamonkey.I cannot test it, as I deleted that launcher.... Perhaps I should look more carefully at the browser script.

I guess what you said is that typing browser in xterm starts firefox, but double-clicking on the launcher starts seamonkey.... very strange.

AtariFan I owe you a apology. Although I did test if firefox was the default browser on my system. And got the results I expected, I did not attempt it with the docs shortcut on the desktop as you were talking about. I didn't have it any more. I recreated it using the .desktop text you posted earlier and sure enough Seamonkey popped up.

Turns out $BROWSER is NOT seen by the /usr/bin/browser script. I added my own debugging code to the script to print out $BROWSER and the entire inviorment from the script when it was launched by VLdocs.desktop/vl_browser.

$BROWSER was not there. Very odd! I can't figure out what is causing this, but it seems you've found a bug in VL.You can set firefox globally (for all users) with this command as root:

Now that I think about it, It might be an idea to develop a vector utility to change the $BROWSER variable in .bashrc or /etc/profile.

I suppose awk would be the best tool here.

After saying so, I made first steps in AWK with help of a little reference from O'Reilly. awk '/^[ ]*export BROWSER=/' .bashrcprints the line that starts with "export BROWSER=" ignoring spaces at firstBut how to substitute the whole line with the desired export-command?