Ubuntu9.10 SpringSource STS 按键失灵的解决

在Ubuntu9.10系统上使用SpringSource STS 2.3的时候,【Finish】不响应鼠标但是响应键盘。
在网上找到了解决方案,是eclipse3.5的问题。
如下:
1、创建eclipse.sh Shell文件
1.1在STS的目录下创建eclipse.sh文件
#!/bin/sh
export GDK_NATIVE_WINDOWS=1
/home/bona/opt/springsource/sts-2.3.0.RELEASE/STS
#bona是用户名,最后一行是指定STS的路径,建议采用绝对路径。

1.2 执行命令 chomd a+x eclipse.sh

2、创建STS启动菜单
在/home/bona/.local/share/applications目录中创建sts.desktop文件。

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=null
Exec="/home/bona/opt/springsource/sts-2.3.0.RELEASE/eclipse.sh"
Categories=Development;Application;
Name=SpringSource Tool Suite
Name[en_US]=SpringSource Tool Suite
Comment="SpringSource Tool Suite of the IDE available."
Comment[en_US]="The Stable installs of MyEclipse represent the most recent stable releases of the IDE available."
Icon=/home/bona/opt/springsource/sts-2.3.0.RELEASE/icon.xpm
Icon[en_US]=/home/bona/opt/springsource/sts-2.3.0.RELEASE/icon.xpm
Blueprint=rb-578452

这样就可以在系统菜单Applications->programming->SpringSource Tool Suite启动STS。

下面文章或许你还感兴趣

  • Ubuntu下搭建Java开发环境
  • 转-MyEclipse9 破解方法
  • Ubuntu 源安装Oracle JAVA
  • 收藏 M2Eclipse:Maven Eclipse插件无法搜索远程库的解决方法
  • 解决Spring Tool Suite和Maven2找不到JDK的问题
  • Maven2 常用命令
  • FDT3.5正式版已经发布
  • 收藏-Flex Builder 3 on Eclipse 3.5
  • ubuntu环境下安装tomcat6
  • Ubuntu Flash中文乱码、方块字解决方法

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>