疑难解答 :
Unix/Linux :
what a nightmare- BOINC attached, but need to specify browser???
留言板合理
| 作者 | 消息 |
|---|---|
Ken Moffat 发送消息 已加入:29 May 99 贴子:11 积分:79,058 近期平均积分:0
|
I know this is a dumb question but how do I set an environment variable? 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 $@ |
|
Temujin 发送消息 已加入:19 Oct 99 贴子:292 积分:47,872,052 近期平均积分:0
|
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 |
|
dogpound 发送消息 已加入:22 Feb 06 贴子:3 积分:7,341 近期平均积分:0
|
For your 1st question you need to set an environment variable to point to your chosen browser ie export BROWSER=/opt/mozilla/mozilla I know this is a dumb question but how do I set an environment variable? |
|
Temujin 发送消息 已加入:19 Oct 99 贴子:292 积分:47,872,052 近期平均积分:0
|
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 |
|
dogpound 发送消息 已加入:22 Feb 06 贴子:3 积分:7,341 近期平均积分:0
|
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!!! |
©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.