When I click on a picture in Google Earth to view it in full-screen, it shows me this error message:
Could not launch any web browser. Please make sure you have set the $BROWSER environment variable to the filename of the web browser we should launch!
What is the best way to set this environment variable globally for all users?
From the Ubuntu Community Documentation on environment variables:
The two files under Not recommended will work, but
/etc/environment
is there just for this purpose so we'll edit that file:And add the following line:
You can replace
/usr/bin/firefox
with the path to whatever browser you prefer.NOTE: You will have to restart your computer for the changes to take effect.
If your modern Ubuntu version reads
~/.profile
, this might be a far more practical place to define the$BROWSER
variable on a per-user basis.Simply add: