kml in linux

644 views
Skip to first unread message

cafegeo

unread,
Mar 16, 2007, 5:02:08 PM3/16/07
to KML Discussions
Everyone has been really helpful here and I am getting no help for the Google Support Linux so I thought I would ask my questions here...

I am using x term on linux machine. Once I have loaded a kml file
command
googleearth /../../doc.kml

Now I have a google instance open how would I load another kml without opening another x term and calling googleearth again and creating a new instance. I don't want to open it in the interface (trying to do from command).

If you don't know that question maybe this one: How do I close google earth from command line?

Thank you,
cafegeo

simon_a

unread,
Mar 16, 2007, 5:48:15 PM3/16/07
to KML Discussions
Hello,

I've not used GE in Linux, but have you tried running the command in the background with a '&' character at the end?:
Code:
googleearth /../../doc.kml &




My guess is that, the second time you do this, the original instance of GE will pick it up but I could be wrong.

Give it a try and let us know how you get on...



Simon.

cafegeo

unread,
Mar 19, 2007, 10:53:44 AM3/19/07
to KML Discussions
That code did not seem to work. Here is what happened:
I did this code
googleearth /../../doc.kml &

then
googleearth /../../doc2.kml &

and it still opened up a new instance of google earth
and it printed this to the screen

Google Earth appears to be running already. Please kill the
existing process, or delete /home/sbailey/.googleearth/instance-running-lock if this is an error.

Any ideas ?

Thanks,
cafegeo

Walt_Haas

unread,
Mar 19, 2007, 1:23:48 PM3/19/07
to KML Discussions
Quote:

I am using x term on linux machine. Once I have loaded a kml file
command
googleearth /../../doc.kml

Now I have a google instance open how would I load another kml without opening another x term and calling googleearth again and creating a new instance. I don't want to open it in the interface (trying to do from command).




If you just want to add more information to the existing GE window, you can type Ctrl-O and it will prompt you for a file. If you want to open a second GE window, that's a different problem and I don't know the answer :-(

Quote:

If you don't know that question maybe this one: How do I close google earth from command line?



Code:

killall googleearth-bin



HTH -- Walt
Reply all
Reply to author
Forward
0 new messages