LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Set the browser environment? (https://www.linuxquestions.org/questions/linux-newbie-8/set-the-browser-environment-400440/)

megalomando 01-06-2006 10:15 PM

Set the browser environment?
 
Have installed the newer firefox as 10.0 comes with an outdated one.

Just installed BOINC and tried to access the seti home page but get a message saying boinc could not determine what my default browser is. Gives a few options like use mailcap package or mime package installation and says "another method is to set the browser environmentvariable to point to whatever your favorite web browser is".

After a lot of looking I can't see anywhere to tell Suse I want to use this new firefox. Firefox on the other hand has a switch to check & see if it's the default browser but checking appears to do nothing.

Any ideas how to get this firefox installation to reflace as a default browser?

Thanks

alienDog 01-07-2006 12:30 AM

Quote:

Originally Posted by megalomando
.."another method is to set the browser environmentvariable to point to whatever your favorite web browser is".

so:

export BROWSER="firefox"

in some file that gets executed on login (~/.bashrc or ~/.xinitrc maybe?) should work.

megalomando 01-07-2006 10:07 AM

Hi ailienDog,

I went to Konsole and entered

export BROWSER="firefox"

it progressed to the next line but showed nothing had been resolved or altered.

I tried reloading BOINC after doing this but it still could not tell the default browser when I clicked on a built in hyperlink.

suggestions?

alienDog 01-07-2006 11:10 AM

Setting environment variables doesn't cause any output, it would be very annoying if they did and would be of absolutely no use. They get set anyway, if you want to check, you can do:

set | fgrep BROWSER

If you set it in the konsole, then you will have to start your program from that same konsole also, the setting only applies to the child processes of that. Setting it in .bashrc or .xinitrc will make it more "global".


All times are GMT -5. The time now is 02:48 AM.