解决google earth 6显示乱码和开启后退出的问题

上网、浏览、聊天、下载等
zyorai
帖子: 1
注册时间: 2011-04-27 9:26

解决google earth 6显示乱码和开启后退出的问题

#1

帖子 zyorai » 2011-05-06 4:39

现在google earth已经升级到6.0了,原先用于解决5.0时的显示乱码的方法已经无效,
正确的解决办法如下

基本上 Google earth 6 在 EzGo8 、Ubuntu 下會有下列問題:
1. 剛安裝好 Google earth 6 可能會無法執行, 或執行根本沒反應, 必須安裝相對應的程式庫。
2. Google earth 6 無法正常顯示中文, 會變成方形的虛線格子, 因為 Google earth 6 內建的程式庫有問題, 必須更換。
3. 即使解決了中文顯示的問題, 卻可能還有執行完 Google earth 6 沒多久就直接自行關閉, 或是無法輸入中文的問題。

解決方法如下:進入終端機視窗, 依序執行下列指令~
1. 先更新軟體來源
sudo apt-get update
2. 安裝下列軟體包
sudo apt-get install lsb-core libfreeimage3 libqt4-webkit
3. 移除 Google earth 6 自行安裝有問題的4個 libQt*.* 檔案!
sudo rm /opt/google/earth/free/libQt*.*
4. 更改 Google earth 6 的程式執行腳本 :
sudo gedit /opt/google/earth/free/googleearth
尋找脚本的最後一行應該是這樣的:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
請在它的前一行插入底下這一句:
export LD_PRELOAD=/usr/lib/libfreeimage.so.3

现在我的google earth已经正常了,还没正常的各位可以参考更改了
:em09 :em09 :em09
Screenshot-1.png
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re: 解决google earth 6显示乱码和开启后退出的问题

#2

帖子 hcym » 2011-05-06 7:09

只有字体小,发虚的毛病
改GoogleEarthPlus.conf似乎无效

代码: 全选

PrimaryFontVersion2Size=12
其他都正常
:em04
وإذا كان هذا لا يحصل أكثر من 100 ملاحظات ، انا ذاهب الى غضب
头像
扭曲杰
帖子: 528
注册时间: 2010-03-24 10:33

Re: 解决google earth 6显示乱码和开启后退出的问题

#3

帖子 扭曲杰 » 2011-05-06 8:22

这个可以支持一下
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 解决google earth 6显示乱码和开启后退出的问题

#4

帖子 daf3707 » 2011-05-06 8:39

:em11 原来要留一手
头像
billzt
帖子: 1666
注册时间: 2010-05-23 20:44
系统: Ubuntu
联系:

Re: 解决google earth 6显示乱码和开启后退出的问题

#5

帖子 billzt » 2011-05-06 9:54

繁体~还以为lz是台湾同胞。

这样的一个问题是地图里面的照片不能显示。我有个办法可以让照片显示
http://bnuzt.org/archives/687
师大生信者:http://bnuzhutao.cn
seoul_sz
帖子: 50
注册时间: 2007-10-17 16:37

Re: 解决google earth 6显示乱码和开启后退出的问题

#6

帖子 seoul_sz » 2011-05-06 20:59

sudo rm /opt/google/earth/free/libQt*.*

libQt一删google earth就启动不了
头像
rapistor
帖子: 1983
注册时间: 2009-01-19 15:09

Re: 解决google earth 6显示乱码和开启后退出的问题

#7

帖子 rapistor » 2011-05-06 21:41

谢谢,马上去试一下,因这个问题,我一直是安装两个版本,一起用。
坚守在linux的天堂!
头像
rapistor
帖子: 1983
注册时间: 2009-01-19 15:09

Re: 解决google earth 6显示乱码和开启后退出的问题

#8

帖子 rapistor » 2011-05-06 21:54

按照一楼和五楼的方法搞定了,太感谢两位了。 :em11
坚守在linux的天堂!
头像
rapistor
帖子: 1983
注册时间: 2009-01-19 15:09

Re: 解决google earth 6显示乱码和开启后退出的问题

#9

帖子 rapistor » 2011-05-06 23:06

怪事了,11.04系统,有时图片能显示,有时不能,不知道是什么原因?
坚守在linux的天堂!
头像
billzt
帖子: 1666
注册时间: 2010-05-23 20:44
系统: Ubuntu
联系:

Re: 解决google earth 6显示乱码和开启后退出的问题

#10

帖子 billzt » 2011-05-07 9:10

rapistor 写了:怪事了,11.04系统,有时图片能显示,有时不能,不知道是什么原因?
10.04LTS才是王道,等12.04
师大生信者:http://bnuzhutao.cn
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 解决google earth 6显示乱码和开启后退出的问题

#11

帖子 daf3707 » 2011-05-08 3:14

seoul_sz 写了:sudo rm /opt/google/earth/free/libQt*.*

libQt一删google earth就启动不了
那是因为这个你做错了
sudo gedit /opt/google/earth/free/googleearth
找到
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
請在它的前一行插入
export LD_PRELOAD=/usr/lib/libfreeimage.so.3
是前一行
头像
fuhaoyun
帖子: 526
注册时间: 2009-05-08 14:12
来自: http://weibo.com/u/2201287863

Re: 解决google earth 6显示乱码和开启后退出的问题

#12

帖子 fuhaoyun » 2011-05-09 23:56

daf3707 写了:
seoul_sz 写了:sudo rm /opt/google/earth/free/libQt*.*

libQt一删google earth就启动不了
那是因为这个你做错了
sudo gedit /opt/google/earth/free/googleearth
找到
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
請在它的前一行插入
export LD_PRELOAD=/usr/lib/libfreeimage.so.3
是前一行

没用,启动之后一会就自动崩溃

只用Ubuntu/Unity:安全、高效、自由、简洁!
http://weibo.com/u/2201287863
----------------------------------------------------
用了4年Ubuntu,发现离开windows也可以活得很好
看球赛、炒股、聊天、office等等都不算问题了
一切都是习惯,困难解决了就好

头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

Re: 解决google earth 6显示乱码和开启后退出的问题

#13

帖子 daf3707 » 2011-05-10 0:05

fuhaoyun 写了:
daf3707 写了:
seoul_sz 写了:sudo rm /opt/google/earth/free/libQt*.*

libQt一删google earth就启动不了
那是因为这个你做错了
sudo gedit /opt/google/earth/free/googleearth
找到
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin “$@”
請在它的前一行插入
export LD_PRELOAD=/usr/lib/libfreeimage.so.3
是前一行

没用,启动之后一会就自动崩溃
如果照着一步步来的话,我已经成功了,一开始是崩溃,原来是加错了,加到最后了,后来重新添加了。正常了。11.04加最新官方的google地球
附件
screenshot1.png
头像
Danielse
帖子: 82
注册时间: 2010-05-11 19:17

Re: 解决google earth 6显示乱码和开启后退出的问题

#14

帖子 Danielse » 2011-05-10 18:54

无free路径的表示压力很大。。。 :em20
另找到googleearth的script:
# Google Earth startup script
#

# Set the home if not already set.
if [ "${GOOGLEEARTH_DATA_PATH}" = "" ]; then
GOOGLEEARTH_DATA_PATH="$(dirname "$(readlink -f "$0")")"
fi

LD_LIBRARY_PATH=.:${GOOGLEEARTH_DATA_PATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

# Let's boogie!
if [ -x "${GOOGLEEARTH_DATA_PATH}/googleearth-bin" ]
then
cd "${GOOGLEEARTH_DATA_PATH}/"
exec "./googleearth-bin" "$@"
fi
echo "Couldn't run Google Earth (googleearth-bin). Is GOOGLEEARTH_DATA_PATH set?"
exit 1

# end of googleearth ...
跟楼上的不大一样。
PS:安装路径不设默认,更改为:/usr/local/google-earth
头像
rapistor
帖子: 1983
注册时间: 2009-01-19 15:09

Re: 解决google earth 6显示乱码和开启后退出的问题

#15

帖子 rapistor » 2011-05-10 20:29

我已经成功了,一定要对好安装路径,如果路径不对,那肯定是不行的。
坚守在linux的天堂!
回复