Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 430 times and has 6 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
BOING (Linux) says to declare BROWSER in environment. No way

Hi all,

When I click on some menus in BOING, it opens a pop up saying it can not find my browser (/usr/bin/firefox under Linux Suse).
It precise to declare the BROWSER variable with the path of my browser.

So I did:
env BROWSER="/usr/bin/firefox" in a shell

When I do echo $BROWSER i got it back.

but no way, even when restarting BOING, same error message for browser not found.

Any help please?

Thx
Hervé
[Aug 19, 2007 6:04:20 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOING (Linux) says to declare BROWSER in environment. No way

You must set the variable in the right context - setting it in a shell only sets it for that process, and doesn't affect BOINC unless you start it from the same shell window.

Try putting this in your ~/.profile file
export BROWSER='/usr/bin/firefox'
- then log out and back in for it to take effect.
[Aug 19, 2007 6:18:37 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOING (Linux) says to declare BROWSER in environment. No way

Hi,

Well I inserted both in my ~/.profile and in the /etc/profile.local the sentence:
export BROWSER='/usr/bin/firefox'

I restarted the computer and did echo $BROWSER
I got /usr/bin/firefox

and then I typed directly in a shell
$BROWSER
and it launched the firefox ok.

So my variable BROWSER is well known.

Problem: BOINC always says my BROWSER is not known !

Any other idea?

Thx
Hervé
[Aug 19, 2007 6:55:23 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOING (Linux) says to declare BROWSER in environment. No way

What user is BOINC running as? If it's a different user, ~/.profile won't work.
[Aug 19, 2007 8:46:51 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOING (Linux) says to declare BROWSER in environment. No way

Hi

User is the same as the current ~/.profile is inside.
I made a test with root ( /home/root/.profile) ; now way; neither with another user.

But the variable is well visible by doing echo $BROWSER...for all possible users.

Hervé
[Aug 19, 2007 9:14:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOING (Linux) says to declare BROWSER in environment. No way

What desktop environment do you use? Let's ignore the $BROWSER setting and try to make it work properly. Is Firefox set as your default browser?
[Aug 19, 2007 9:53:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOING (Linux) says to declare BROWSER in environment. No way

[SOLVED:]

I am using Linux SUSE 10.2 with KDE 3.5.5 release 45.4

my uname -a gives:
"Linux solar 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux"

I solved the problem by defining in teh KDE CONTROL CENTER - COMPONENTS- FILE ASSOCIATION that .htm and .html files has to be opened (by default) with a separate external browser rather than with an embedded browser.
The list of my preference browser is firefox, konqueror and so on.
Now it's OK, it open with the first external one named firefox.

So bas, as this will apply for all my system ..but it's OK.

Thx
Hervé
[Aug 20, 2007 7:12:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread