Difference between revisions of "How to set up your default browser in Linux?"

From BOINC Wiki
Jump to: navigation, search
(Saving FAQ 236)
 
(adding new table)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
In the Linux version of BOINC Manager, if you try to click on the links to the project web pages and you get an error message about not being able to find BROWSER or BROWSER not being set then you need to do the following -
 
In the Linux version of BOINC Manager, if you try to click on the links to the project web pages and you get an error message about not being able to find BROWSER or BROWSER not being set then you need to do the following -
 +
  
 
edit /etc/profile to include the following -
 
edit /etc/profile to include the following -
  
BROWSER="/path/to/browser"
+
BROWSER="/path/to/browser"
 +
export BROWSER
 +
 
 +
- where /path/to/browser is the executable path to your browser.
 +
 
  
export BROWSER
+
To find out what the executable path is, open a terminal window and type '''whereis browser''' - so if your browser is firefox you would type '''whereis firefox'''. The result is your executable path, which maybe something like /usr/local/bin/firefox.
  
- where /path/to/browser is the executable path to your browser. To find out what this is open a terminal window and type whereis browser - so if your browser is firefox you would type whereis firefox. The result is your executable path, which maybe something like /usr/local/bin/firefox.
 
  
 
In this case the exact code you would add to /etc/profile would be -
 
In this case the exact code you would add to /etc/profile would be -
  
BROWSER="/usr/local/bin/firefox"
+
BROWSER="/usr/local/bin/firefox"
 +
export BROWSER
 +
 
  
export BROWSER
 
  
 +
{| class="wikitable" style="text-align: center;"
 +
! Original writer
 +
! Original FAQ
 +
! Date
 +
|-
 
  | Jorden
 
  | Jorden
  | 9
+
  | [http://boincfaq.mundayweb.com/index.php?language=1&view=236 236]
| 1
+
  | 25-Aug-2007
| 14:14:17
+
  |-
| 2007-08-25
+
|}
| 172565
 
| 1
 
| 236
 
  | 2007-08-25 14:14:17
 
  | 2007-08-25 14:14:17
 
|-
 

Latest revision as of 16:43, 30 August 2016

In the Linux version of BOINC Manager, if you try to click on the links to the project web pages and you get an error message about not being able to find BROWSER or BROWSER not being set then you need to do the following -


edit /etc/profile to include the following -

BROWSER="/path/to/browser"
export BROWSER

- where /path/to/browser is the executable path to your browser.


To find out what the executable path is, open a terminal window and type whereis browser - so if your browser is firefox you would type whereis firefox. The result is your executable path, which maybe something like /usr/local/bin/firefox.


In this case the exact code you would add to /etc/profile would be -

BROWSER="/usr/local/bin/firefox"
export BROWSER


Original writer Original FAQ Date
Jorden 236 25-Aug-2007