Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to set up a BOINC client for distributed computing and keep getting the message that I need to "set the environment variable BROWSER to the path of your web browser". I'm using Firefox 1.0.8, which I assume is in the usr/lib/firefox-1.0.8 directory and would be the file firefox. But where do I find the config file to set the environment variable?
Chuck
P4 2.66 w/FC4 (I don't know which version, but it's up-to-date with yum).
Thanks for those links TECKK. I had already looked at the Berkley web site but hadn't found the answer to the BROWSER question. The way I read the dialog that pops up, it means to set the BROWSER variable for FC4 so that it's found in the PATH. It says exactly, "BOINC has tried to display the web page...but couldn't find a web browser. To fix this, set the environment variable BROWSER to the path of your web browser, then restart the BOINC Manager."
I don't know which files to even look into for this command.
Thanks for the quick response burninGpi. I don't find a file named .profile in my Home directory, nor anywhere in the file structure with a find -name '.profile' search in an su environment. Is this a file I should create?
I created a file named .private and put in a line as export BROWSER=firefox-bin then saved the file in my home/clwhitt folder. BOINC manager is in /home/clwhitt/Desktop/BOINC. Is that correct?
Neither worked when restarting run-manager in the BOINC directory (actually a link on the desktop to the file in the /home/clwhitt/Desktop/BOINC directory).
What does it mean to "create a wrapper for it"?
I started with computers back in the days of built in basic interpreters, cpm, dos, drdos, GEM, and every iteration of Windows so far. I'm comfortable with the command prompt. But for some reason, Linux just hasn't "clicked" yet, even after a few years of dinking around with it.
the export line should be in .profile or .bashrc, not .private. I forgot, it should be export BROWSER=firefox, not firefox-bin.
By "Create a wrapper", I mean "Make a shell script which sets all the required environment variables, then calls a certain command with those set".
You could make the wrapper by openning a terminal, and typing:
Then you should run /home/clwhitt/Desktop/BOINC/run-boinc to run the manager, and you should also change the link on your desktop to point to run-boinc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.