linux browser path

Eric Dobbs
Eric Dobbs
Joined: 16 Sep 06
Posts: 2
Credit: 13195
RAC: 0
Topic 191839

I am trying, yet again, to use Linux. I installed E@H and somehow got it to work, but when I push any button that would open a browser in the boinc manager, I get an error message saying that I need to set the BROWSER environment variable and restart boincmgr. I have tried everything I can think of and consulted every volume in the two foot high stack of Linux books I have bought (cumulatively the price of Windows XP pro) and can find nothing that works. The Firefox executable actually seems to be a shell script. I am running the Xandros version 3 distro, which is supposed to be idiot-proof. Can anyone help? Eric Dobbs, Richmond, Virginia

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

linux browser path

Quote:
I am trying, yet again, to use Linux. I installed E@H and somehow got it to work, but when I push any button that would open a browser in the boinc manager, I get an error message saying that I need to set the BROWSER environment variable and restart boincmgr. I have tried everything I can think of and consulted every volume in the two foot high stack of Linux books I have bought (cumulatively the price of Windows XP pro) and can find nothing that works. The Firefox executable actually seems to be a shell script. I am running the Xandros version 3 distro, which is supposed to be idiot-proof. Can anyone help? Eric Dobbs, Richmond, Virginia


You must define the BROWSER environment variable in your shell. In my case, using bash, I have written in .bashrc:
export BROWSER=/usr/local/mozilla/mozilla
Adapt this to the shell you are using,
Tullio

Eric Dobbs
Eric Dobbs
Joined: 16 Sep 06
Posts: 2
Credit: 13195
RAC: 0

RE: RE: I am trying, yet

Message 45961 in response to message 45960

Quote:
Quote:
I am trying, yet again, to use Linux. I installed E@H and somehow got it to work, but when I push any button that would open a browser in the boinc manager, I get an error message saying that I need to set the BROWSER environment variable and restart boincmgr. I have tried everything I can think of and consulted every volume in the two foot high stack of Linux books I have bought (cumulatively the price of Windows XP pro) and can find nothing that works. The Firefox executable actually seems to be a shell script. I am running the Xandros version 3 distro, which is supposed to be idiot-proof. Can anyone help? Eric Dobbs, Richmond, Virginia

You must define the BROWSER environment variable in your shell. In my case, using bash, I have written in .bashrc:
export BROWSER=/usr/local/mozilla/mozilla
Adapt this to the shell you are using,
Tullio

Thanks so much for replying. I have already tried what you suggest with no success. I edited my .bashrc file (in my home directory - should I edit all the others - there are several .bashrc files?) with the path to what serves as the executable on my system, but I still get the same error. I have looked around the Web at other message boards, and this seems to be a frequent and difficult problem.
Eric Dobbs

tullio
tullio
Joined: 22 Jan 05
Posts: 2118
Credit: 61407735
RAC: 0

RE: Thanks so much for

Message 45962 in response to message 45961

Quote:

Thanks so much for replying. I have already tried what you suggest with no success. I edited my .bashrc file (in my home directory - should I edit all the others - there are several .bashrc files?) with the path to what serves as the executable on my system, but I still get the same error. I have looked around the Web at other message boards, and this seems to be a frequent and difficult problem.
Eric Dobbs


I am using SuSE Linux 9.3 and KDE. I don't know if Xandros behaves differently. In good old UNIX the shell was the main interface to the system. Now in Linux each distro uses a different GUI and this may cause problems. I have used Slackware, Unifix and Corel, now SuSE. Each user has his own .bashrc file and that's all he has to configure. You seem to have it done right. All I can say it works for me on SETI, Einstein, QMC and BBC.climateprediction. Cheers.
Tullio

Trog Dog
Trog Dog
Joined: 25 Nov 05
Posts: 191
Credit: 541562
RAC: 0

RE: RE: RE: I am

Message 45963 in response to message 45961

Quote:
Quote:
Quote:
I am trying, yet again, to use Linux. I installed E@H and somehow got it to work, but when I push any button that would open a browser in the boinc manager, I get an error message saying that I need to set the BROWSER environment variable and restart boincmgr. I have tried everything I can think of and consulted every volume in the two foot high stack of Linux books I have bought (cumulatively the price of Windows XP pro) and can find nothing that works. The Firefox executable actually seems to be a shell script. I am running the Xandros version 3 distro, which is supposed to be idiot-proof. Can anyone help? Eric Dobbs, Richmond, Virginia

You must define the BROWSER environment variable in your shell. In my case, using bash, I have written in .bashrc:
export BROWSER=/usr/local/mozilla/mozilla
Adapt this to the shell you are using,
Tullio

Thanks so much for replying. I have already tried what you suggest with no success. I edited my .bashrc file (in my home directory - should I edit all the others - there are several .bashrc files?) with the path to what serves as the executable on my system, but I still get the same error. I have looked around the Web at other message boards, and this seems to be a frequent and difficult problem.
Eric Dobbs

G'day Eric

Using etc/profile to pass the variable seems to work as noted here .

Alternatively, checking the above example, maybe quotes around the path will help.

Mike H.
Mike H.
Joined: 28 Mar 05
Posts: 14
Credit: 28516
RAC: 0

Trog Dog has it, use profile.

Trog Dog has it, use profile. For a quick fix if you're using bash you can do an export THEBROWSERNAMEHOME=/the/dir/path/here

eg I would do, export BROWSER=/usr/local/netscape/netscape

Another incarnation would be, export MOZILLA_HOME=/usr/local/netscape

If you're using csh I believe the command uses env. You might look up, man csh

SethOtherPower
SethOtherPower
Joined: 19 Feb 05
Posts: 4
Credit: 672290
RAC: 0

RE: Trog Dog has it, use

Message 45965 in response to message 45964

Quote:

Trog Dog has it, use profile. For a quick fix if you're using bash you can do an export THEBROWSERNAMEHOME=/the/dir/path/here

eg I would do, export BROWSER=/usr/local/netscape/netscape

Another incarnation would be, export MOZILLA_HOME=/usr/local/netscape

If you're using csh I believe the command uses env. You might look up, man csh

i use this my self

export BROWSER=firefox %u

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.