what a nightmare- BOINC attached, but need to specify browser???

疑难解答 : Unix/Linux : what a nightmare- BOINC attached, but need to specify browser???
留言板合理

To post messages, you must log in.

作者消息
Profile Ken Moffat

发送消息
已加入:29 May 99
贴子:11
积分:79,058
近期平均积分:0
United States
消息 264137 - 发表于:18 Mar 2006, 17:23:37 UTC - 回复消息 252169.  

I know this is a dumb question but how do I set an environment variable?

Well, it really depends how you start Boinc Manager.
I use KDE and have a shortcut on my side panel with the command I gave earlier.
That method would also work if you start boincmgr from any shortcut.

Other than that, you could try adding export BROWSER=path_to_your_browser into your .bashrc
To find the path to my browser, I would type which firefox which would return /usr/bin/firefox so I could put export BROWSER=/usr/bin/firefox in my .bashrc



I edited the file BOINC/run_manager as below, adding the browser declaration to the beginning of the line. Works from desktop shortcuts now.

export BROWSER=/usr/bin/firefox && cd "/home/ken/BOINC" && exec ./boincmgr $@

ID: 264137 · 举报违规帖子
Temujin
志愿者测试人员

发送消息
已加入:19 Oct 99
贴子:292
积分:47,872,052
近期平均积分:0
United Kingdom
消息 252169 - 发表于:22 Feb 2006, 22:15:52 UTC - 回复消息 252085.  

I know this is a dumb question but how do I set an environment variable?

Well, it really depends how you start Boinc Manager.
I use KDE and have a shortcut on my side panel with the command I gave earlier.
That method would also work if you start boincmgr from any shortcut.

Other than that, you could try adding export BROWSER=path_to_your_browser into your .bashrc
To find the path to my browser, I would type which firefox which would return /usr/bin/firefox so I could put export BROWSER=/usr/bin/firefox in my .bashrc


ID: 252169 · 举报违规帖子
dogpound

发送消息
已加入:22 Feb 06
贴子:3
积分:7,341
近期平均积分:0
United States
消息 252085 - 发表于:22 Feb 2006, 17:32:33 UTC - 回复消息 252034.  

For your 1st question you need to set an environment variable to point to your chosen browser ie export BROWSER=/opt/mozilla/mozilla
I amended the shortcut to boincmgr to something like this
export BROWSER=/opt/mozilla/mozilla; cd /home/boinc; boincmgr


I know this is a dumb question but how do I set an environment variable?
ID: 252085 · 举报违规帖子
Temujin
志愿者测试人员

发送消息
已加入:19 Oct 99
贴子:292
积分:47,872,052
近期平均积分:0
United Kingdom
消息 252034 - 发表于:22 Feb 2006, 16:24:42 UTC

For your 1st question you need to set an environment variable to point to your chosen browser ie export BROWSER=/opt/mozilla/mozilla
I amended the shortcut to boincmgr to something like this
export BROWSER=/opt/mozilla/mozilla; cd /home/boinc; boincmgr


ID: 252034 · 举报违规帖子
dogpound

发送消息
已加入:22 Feb 06
贴子:3
积分:7,341
近期平均积分:0
United States
消息 251964 - 发表于:22 Feb 2006, 14:16:03 UTC

I run the Boinc manager and specify setiathome when it asks for url--- so far so good- I become attached and it appears to be downloading a work unit?--- Anyway, every time I click on BOINC menu- " YOUR ACCOUNT" or "Preferences" or whatever I get error message "Must specify default browser..etc" then am directed to seti/home.php - there is no where on this pref list to specify a browser.
Also- when I close BOINC and try to open again I have to respecify URL to attach to..I need BOINC for dummies!!!
ID: 251964 · 举报违规帖子

疑难解答 : Unix/Linux : what a nightmare- BOINC attached, but need to specify browser???


 
©2020 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.