[arch-general] $BROWSER variable and Google Earth
Hi, Google Earth can't recognise the $BROWSER environment variable. I've set the one in my '~/.zshrc' as follows: " export BROWSER="/usr/bin/icecat" " When I try to open an external link I get the following error: <http://www.imagebam.com/image/a79e8989327021>. That Italian message means: "cannot start up a web browser. Check to have set the $BROWSER environment variable to the web browser filename you want to start up." I don't know why. Cheers
using bash and ~/.bashrc, I confirm the bug. google-earth does not honnor my export BROWSER='xd-open' that should run chromium but launches firefox. I guess you got an error because you don't have firefox installed.
ooops in fact, it works if I run it from a command line in a terminal. but not from gnome menu.
On Tue, Jul 20, 2010 at 1:00 PM, solsTiCe d'Hiver <solstice.dhiver@gmail.com> wrote:
ooops in fact, it works if I run it from a command line in a terminal.
but not from gnome menu.
It is not a bug. Your .bashrc or .zshrc files are sourced only in terminal.
2010-07-20 13:08 +0300, Aleksis Jauntēvs wrote:
On Tue, Jul 20, 2010 at 1:00 PM, solsTiCe d'Hiver <solstice.dhiver@gmail.com> wrote:
ooops in fact, it works if I run it from a command line in a terminal.
but not from gnome menu.
It is not a bug. Your .bashrc or .zshrc files are sourced only in terminal.
Yes, I didn't think that was a bug and perhaps it will be so; but, some time ago there were no problems.
Maybe try exporting the $BROWSER in /etc/profile or ~/.bash_profile. On Tue, Jul 20, 2010 at 06:40:09PM +0200, F. Gr. wrote:
2010-07-20 13:08 +0300, Aleksis Jauntēvs wrote:
On Tue, Jul 20, 2010 at 1:00 PM, solsTiCe d'Hiver <solstice.dhiver@gmail.com> wrote:
ooops in fact, it works if I run it from a command line in a terminal.
but not from gnome menu.
It is not a bug. Your .bashrc or .zshrc files are sourced only in terminal.
Yes, I didn't think that was a bug and perhaps it will be so; but, some time ago there were no problems.
aleksis.jauntevs@gmail.com wrote:
Maybe try exporting the $BROWSER in /etc/profile or ~/.bash_profile.
On Tue, Jul 20, 2010 at 06:40:09PM +0200, F. Gr. wrote:
2010-07-20 13:08 +0300, Aleksis Jauntēvs wrote: On Tue, Jul 20, 2010 at 1:00 PM, solsTiCe d'Hiver <solstice.dhiver@gmail.com> wrote:
ooops in fact, it works if I run it from a command line in a terminal.
but not from gnome menu.
It is not a bug. Your .bashrc or .zshrc files are sourced only in terminal. Yes, I didn't think that was a bug and perhaps it will be so; but, some time ago there were no problems.
- Because it makes discussion hard to follow. - Why? - Please do not top post. That being said, you should put any variable declaration that you want accessible to GUI apps in ~/.xprofile (or ~/.profile if you want them also accessible in the console). Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
2010-07-20 21:50 +0200, Jérôme M. Berger wrote:
aleksis.jauntevs@gmail.com wrote:
Maybe try exporting the $BROWSER in /etc/profile or ~/.bash_profile.
On Tue, Jul 20, 2010 at 06:40:09PM +0200, F. Gr. wrote:
2010-07-20 13:08 +0300, Aleksis Jauntēvs wrote: On Tue, Jul 20, 2010 at 1:00 PM, solsTiCe d'Hiver <solstice.dhiver@gmail.com> wrote:
ooops in fact, it works if I run it from a command line in a terminal.
but not from gnome menu.
It is not a bug. Your .bashrc or .zshrc files are sourced only in terminal. Yes, I didn't think that was a bug and perhaps it will be so; but, some time ago there were no problems. [...]
That being said, you should put any variable declaration that you want accessible to GUI apps in ~/.xprofile (or ~/.profile if you want them also accessible in the console).
solved: I've chosen /etc/profile. thanks to all.
Aleksis Jauntēvs <aleksis.jauntevs@gmail.com>:
It is not a bug. Your .bashrc or .zshrc files are sourced only in terminal. Does X inherit variables that are set in .bashrc when it is started via "startx" from initlevel 3?
-- Gruß, Johannes http://hehejo.de
participants (6)
-
"Jérôme M. Berger"
-
Aleksis Jauntēvs
-
aleksis.jauntevs@gmail.com
-
F. Gr.
-
Johannes Held
-
solsTiCe d'Hiver