Re: [gentoo-user] Re: Google Earth: Masked?

2006-06-20 Thread Mick

On 19/06/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:


It uses the BROWSER environment variable if it exists to pick a browser to
which it sends a mailto: link containing all the info to compose a mail in
the composer that the browser uses to handle mailto. Hope that makes
sense. :)


Yes it does, thanks.  The problem then is that I do not have set the
BROWSER env variable, because I choose the browser according to
particular browsing needs;  i.e. mostly Opera, sometimes FF, sometimes
Konqueror, rarely Mozilla, Links.


$ BROWSER=konqueror googleearth


Yes this works nicely, I may just add it to my Fluxbox menu command.


You may also edit the googleearth script and add BROWSER=whatever at the top


Hmm, this does not seem to work at all:
===
$ googleearth
/usr/bin/googleearth: line 10: =/usr/kde/3.5/bin/konqueror: No such
file or directory
===
I've tried all sorts of nomenclature (placing the path in  , etc.)
but it won't work.  It just launches Firefox.  Although I've set the
mailto: path in FF config to kmail, FF does not seem to respond to the
'attachto=' that googleearth passes on to it.  As a result a new
message is opened but no attachment is created.

Any idea what the syntax should look like for the googleearth script
to acknowledge the BROWSER env variable?
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Google Earth: Masked?

2006-06-20 Thread Bo Ørsted Andresen
On Tuesday 20 June 2006 21:30, Mick wrote:
 Any idea what the syntax should look like for the googleearth script
 to acknowledge the BROWSER env variable?

# diff -Naur /opt/googleearth/googleearth{,-mod}
--- /opt/googleearth/googleearth2006-06-14 11:14:46.0 +0200
+++ /opt/googleearth/googleearth-mod2006-06-20 21:50:39.0 +0200
@@ -3,6 +3,8 @@
 # Google Earth startup script
 #

+export BROWSER=konqueror
+
 # Function to find the real directory a program resides in.
 # Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software
 FindPath()

-- 
Bo Andresen


pgp4aVklDE3zs.pgp
Description: PGP signature


Re: [gentoo-user] Re: Google Earth: Masked?

2006-06-19 Thread Bo Ørsted Andresen
On Saturday 17 June 2006 02:53, Mick wrote:
 Yep, it works a treat (other than setting up email - it opens FF).  It is
 masked because it is a new ebuild.  If no bugs are reported it'll become
 stable within a month.

 Any idea how to set it up to open Kmail?

It uses the BROWSER environment variable if it exists to pick a browser to 
which it sends a mailto: link containing all the info to compose a mail in 
the composer that the browser uses to handle mailto. Hope that makes 
sense. :)

Konqueror will use kmail by default. 

$ BROWSER=konqueror googleearth

You may also edit the googleearth script and add BROWSER=whatever at the top 
or you may put it into your global environment like this:

# echo BROWSER=whatever  /etc/env.d/90browser  env-update  \
source /etc/profile

-- 
Bo Andresen


pgp1kYX8HsEZ7.pgp
Description: PGP signature


[gentoo-user] Re: Google Earth: Masked?

2006-06-16 Thread Mick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Rout wrote:

 bugger i didn't even know there was an ebuild, i simply downloaded and
 installed.

Yep, it works a treat (other than setting up email - it opens FF).  It is
masked because it is a new ebuild.  If no bugs are reported it'll become
stable within a month.

Any idea how to set it up to open Kmail?
- -- 
Regards,
Mick
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEk1KI5Fp0QerLYPcRAkByAKCbYd5uzDgt9eLExRmMDyHtkaBDagCeJ7jx
JkC0AvxKOhtl9Q/PqoCiksU=
=rzk+
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list