个人工具

“UbuntuHelp:GoogleEarth”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/GoogleEarth}}
 
{{From|https://help.ubuntu.com/community/GoogleEarth}}
 
{{Languages|UbuntuHelp:GoogleEarth}}
 
{{Languages|UbuntuHelp:GoogleEarth}}
 +
#title Google Earth
  
 +
Parent: [[UbuntuHelp:Software]]
  
== Introduction ==
+
 
 +
== Google Earth ==
  
 
''Google Earth puts a planet's worth of imagery and other geographic information right on your desktop. View exotic locales like Maui and Paris as well as points of interest such as local restaurants, hospitals, schools, and more.''
 
''Google Earth puts a planet's worth of imagery and other geographic information right on your desktop. View exotic locales like Maui and Paris as well as points of interest such as local restaurants, hospitals, schools, and more.''
  
'''NOTE:''' This tutorial utilizes the command line, so some basic experience is required; although little more than just copying and pasting.
+
 
  
 
== Screenshots ==
 
== Screenshots ==
  
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=GoogleEarth.png
+
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-1.png
  
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=GoogleEarth2.png
+
https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-2.png
  
 +
 +
[[Anchor(installation)]]
 
== Installation ==
 
== Installation ==
  
'''Note: Google Earth is available from the [[UbuntuHelp:Medibuntu]] repository.'''
+
0. Download Google Earth from the [http://earth.google.com/ Google Earth website]. <br> {i} The linux version will be automatically chosen when downloading from Ubuntu.
  
0. Download
+
0. Open a [[UbuntuHelp:UsingTheTerminal|terminal]] from '''Applications''' -> '''Accessories''' -> '''Terminal'''.
  
Download the linux version of [http://earth.google.com Google Earth].
+
0. '''cd''' into the directory where you saved Google Earth. For example, if you saved it to the Desktop type:
 +
<pre><nowiki>
 +
cd ~/Desktop
 +
</nowiki></pre>
  
0. Make Executable
+
0. Make it executable by typing:
 
+
<pre><nowiki>
At the command line, '''cd''' into the directory that you saved Google Earth. Then issue the following command:
+
chmod +x GoogleEarthLinux.bin
 +
</nowiki></pre>
  
 +
0. Run the installer by typing:
 
<pre><nowiki>
 
<pre><nowiki>
chmod +x GoogleEarthLinux.bin </nowiki></pre>
+
sudo ./GoogleEarthLinux.bin
 +
</nowiki></pre>
  
0. Run the installer
+
0. Leave the default options and click '''Begin Install'''. <br><br> https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-1.png
  
Issue the following command at the command prompt:
+
0. When installation is complete, press '''Quit'''. <br> /!\ Do '''not''' press ''Start'' as this will run it as root which is never a good idea. <br><br> https://help.ubuntu.com/community/GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-2.png <br>
  
<pre><nowiki>
+
{i} A file named <code><nowiki>Google-googleearth.desktop</nowiki></code> will be installed on the Desktop. This file is safe to delete.
sudo ./GoogleEarthLinux.bin </nowiki></pre>
+
  
Continue through the rest of the installation using the default options, unless you are more experienced and need to change the options.
+
== Hints and Tips ==
  
'''WARNING:''' <u>DO NOT</u> choose to run Google Earth, as doing so will disallow you to run it as a normal user in the future.
+
Run Google Earth by selecting '''Applications''' -> '''Internet''' -> '''Google Earth'''.
  
== Execution ==
+
=== Upgrading ===
  
You can run the program via the command line or by pressing '''Alt+F2'''. Either way, type in '''googleearth''', and then press '''Enter'''.
+
Upgrading to a new version is the same as in the [[installation Installation]] section, except that you will not be asked where to install.
  
=== Desktop Entry ===
+
=== Uninstallation ===
  
To add Google Earth to the Desktop menu run this command in a terminal:
+
Assuming you installed Google Earth according to the [[installation Installation]] section above, Google Earth can be uninstalled by pasting the following command in a [[UbuntuHelp:UsingTheTerminal|terminal]]:
 +
 
 +
{i} This command is all on one line. Copy it and paste it in your terminal.
  
 
<pre><nowiki>
 
<pre><nowiki>
sudo cp /opt/google-earth/googleearth.desktop /usr/share/applications/ </nowiki></pre>
+
sudo rm -rf /opt/google-earth && sudo rm /usr/share/mime/application/vnd.google-earth.* /usr/share/mimelnk/application/vnd.google-earth.* /usr/share/applnk/Google-googleearth.desktop /usr/share/mime/packages/googleearth-mimetypes.xml /usr/share/gnome/apps/Google-googleearth.desktop /usr/share/applications/Google-googleearth.desktop /usr/local/bin/googleearth
 +
</nowiki></pre>
 +
 
 +
You may also wish to remove your user preferences folder, although this is not necessary if you intend to reinstall later. This directory contains Google Earth settings and the cache:
 +
 
 +
<pre><nowiki>
 +
rm -rf ~/.googleearth
 +
</nowiki></pre>
 +
 
 +
=== Alternative Installation ===
 +
 
 +
Google Earth is also available packaged in the [[UbuntuHelp:Medibuntu]] repository, however it might not have the latest version available.
  
== Troubleshooting ==
+
=== Troubleshooting ===
  
 
Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.
 
Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.
  
=== Errors ===
+
==== Google Earth and Compiz ====
  
==== Permission Denied ====
+
As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636
  
Receiving this error means that you ignored the warning in step 3 of the install instructions. To fix it, do the following:
+
==== Google Earth and ATI ====
  
<pre><nowiki>
+
Some people using the ATI fglrx driver have experienced a problem where Google Earth freezes at the splash screen and never starts up. See this post for a solution: http://n01getsout.com/blog/2006/11/26/google-earth-for-linux-freezing-with-ati/
sudo chown -R username ~/.googleearth
+
sudo chown username  ~/.local/share/applications/googleearth.desktop </nowiki></pre>
+
  
Be sure to replace ''username'' with your user name.
+
== Further Reading ==
  
=== Google Earth & Compiz ===
+
* [http://earth.google.com/ Google Earth Website]
 +
* [http://earth.google.com/userguide/v4/ Google Earth User Guide]
 +
* [http://googleearthuser.blogspot.com/ Using Google Earth] - Official Google Earth Blog
 +
* [http://bbs.keyhole.com/ Google Earth Community]
 +
* [http://en.wikipedia.org/wiki/Google_Earth Google Earth on Wikipedia]
 +
* [http://gearthblog.com/ Google Earth Blog]
 +
* [http://en.wikipedia.org/wiki/Keyhole_Markup_Language Keyhole Markup Language on Wikipedia]
 +
* [http://code.google.com/apis/kml/documentation/ Keyhole Markup Language (KML) documentation]
  
As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636
+
----
 +
[[category:CategoryDocumentation]] [[category:CategorySoftware]] [[category:CategoryScience]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月22日 (四) 12:55的版本


  1. title Google Earth

Parent: UbuntuHelp:Software


Google Earth

Google Earth puts a planet's worth of imagery and other geographic information right on your desktop. View exotic locales like Maui and Paris as well as points of interest such as local restaurants, hospitals, schools, and more.


Screenshots

GoogleEarth?action=AttachFile&do=get&target=googleearth-1.png

GoogleEarth?action=AttachFile&do=get&target=googleearth-2.png


Anchor(installation)

Installation

0. Download Google Earth from the Google Earth website.
{i} The linux version will be automatically chosen when downloading from Ubuntu.

0. Open a terminal from Applications -> Accessories -> Terminal.

0. cd into the directory where you saved Google Earth. For example, if you saved it to the Desktop type:

cd ~/Desktop

0. Make it executable by typing:

chmod +x GoogleEarthLinux.bin

0. Run the installer by typing:

sudo ./GoogleEarthLinux.bin

0. Leave the default options and click Begin Install.

GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-1.png

0. When installation is complete, press Quit.
/!\ Do not press Start as this will run it as root which is never a good idea.

GoogleEarth?action=AttachFile&do=get&target=googleearth-setup-2.png

{i} A file named Google-googleearth.desktop will be installed on the Desktop. This file is safe to delete.

Hints and Tips

Run Google Earth by selecting Applications -> Internet -> Google Earth.

Upgrading

Upgrading to a new version is the same as in the installation Installation section, except that you will not be asked where to install.

Uninstallation

Assuming you installed Google Earth according to the installation Installation section above, Google Earth can be uninstalled by pasting the following command in a terminal:

{i} This command is all on one line. Copy it and paste it in your terminal.

sudo rm -rf /opt/google-earth && sudo rm /usr/share/mime/application/vnd.google-earth.* /usr/share/mimelnk/application/vnd.google-earth.* /usr/share/applnk/Google-googleearth.desktop /usr/share/mime/packages/googleearth-mimetypes.xml /usr/share/gnome/apps/Google-googleearth.desktop /usr/share/applications/Google-googleearth.desktop /usr/local/bin/googleearth

You may also wish to remove your user preferences folder, although this is not necessary if you intend to reinstall later. This directory contains Google Earth settings and the cache:

rm -rf ~/.googleearth

Alternative Installation

Google Earth is also available packaged in the UbuntuHelp:Medibuntu repository, however it might not have the latest version available.

Troubleshooting

Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to this.

Google Earth and Compiz

As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636

Google Earth and ATI

Some people using the ATI fglrx driver have experienced a problem where Google Earth freezes at the splash screen and never starts up. See this post for a solution: http://n01getsout.com/blog/2006/11/26/google-earth-for-linux-freezing-with-ati/

Further Reading