Ubuntu下Zend Studio 5.5 安装及中文乱码和界面空白解决


Ubuntu下Zend Studio 5.5 安装及中文乱码和界面空白解决

Zend Studio下载地址:

5.5.0:http://www.phpchina.com/download/soft/zend/studio/5.5.0/ZendStudio-5_5_0.tar.gz

5.5.1:http://downloads.zend.com/studio/5.5.1/ZendStudio-5_5_1.tar.gz

1. 下载ZendStudio-5_5_0.tar.gz

2. 解压缩出 ZendStudio-5_5_0.bin

3. 在Ubuntu非root用户下安装,如zack@zack-desktop:~$

./ZendStudio-5_5_0.bin

6. 在桌面创建启动器

然后编辑它为:

[Desktop Entry]

Name=ZendStudio5

Comment=Zend Studio 5.5

Exec=/home/zack/Zend/ZendStudio/bin/ZDE

Icon=/home/zack/Zend/ZendStudio/bin/icon16_studio.png

Terminal=false

Type=Application

Categories=Application;Network;

解决中文界面全部是方块的问题:

第一步:

把C盘系统字库的中文字体simsun.ttc(宋体) 复制过来改名为:LucidaSansRegular.ttf,覆盖到/usr/local/Zend/ZendStudio/jre/lib/fonts/LucidaSansRegular.ttf

第二步(可以不设置):

vi ZDE/config_5.5/desktop_options.xml

把? ? ? ? ? ? ? ? <customized_property ID=”desktop.language”>

<locale language=”en” country=”" variant=”"/>

</customized_property>

改成

<customized_property ID=”desktop.language”>

<locale language=”cn” country=”" variant=”"/>

</customized_property>

最好再把

<customized_property ID=”browser.commandLine”>

<string value=”M…”/>? ?? ?//这里有点忘记了总之浏览器改为firefox

</customized_property>

解决界面空白的问题:

使用文本编辑器打开/usr/local/Zend/ZendStudio/bin/ZDE文件,在1693行,也就是debugout 前加上一行:

options=”$options -Dawt.toolkit=sun.awt.motif.MToolkit”

,这样就可以看到熟悉的开发界面了。

本文来自于东至BLOG,原文地址:http://zhaoyaodong.cn/view/170.html

相关内容