Ubuntu 12.04 默认无法launcher Eclipse快捷图标到左侧Dash,需要手工配置,步骤如下:
1) 首先,创建并打开~/.local/share/applications/opt_eclipse.desktop(如果没有applications文件夹或opt_eclipse.desktop文件,请自行创建)
gedit ~/.local/share/applications/opt_eclipse.desktop
2)接着,复制下面内容到opt_eclipse.desktop , 并根据自己eclipse路径,修改**.....**中间的配置路径
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=
** something like /opt/eclipse/icon.xpm **
Exec=
** something like /opt/eclipse/eclipse **
Terminal=false
Categories=Development;IDE;Java;
StartupWMClass=Eclipse
如下我的配置图:
3) 保存后,修改opt_eclipse.desktop文件访问权限,有以下两种方法:
方法1: chmod +x ~/.local/share/applications/opt_eclipse.desktop
方法2: 进入~/.local/share/applications/目录,右键opt_eclipse.desktop 文件,依次选择Properties -> Permissions -> Allow executing file as program(勾选上)
4) 勾选上后,opt_eclipse.desktop 立即变为eclipse的图标,拖至左侧dashlauncher即可,结果如下:
参考推荐:
How to pin Eclipse to the Unity launcher?
分享到:
相关推荐
Ubuntu12.04下Eclipse安装配置
Ubuntu12.04 nginx python uwsgi Django安装步骤
Ubuntu 12.04 菜鸟完全使用教程让你用最快的速度熟悉使用Ubuntu 12.04!
Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+...
libc6 for ubuntu 12.04 所有依赖的库都打包 .
Ubuntu 12.04 Unity下Eclipse图标不显示解决方法.docx
用 VMware 安装 Ubuntu 12.04详细过程图解
Ubuntu 12.04下如何安装MySQL ,我按照这文档,已经成功在ubuntu 12.04安装成功mysql!
最全,最好用 自己试试啊ubuntu12.04 vim 配置
适逢七周岁生日之际,Ubuntu正式推出了第四个LTS长期支持版本,开发代号Precise Pangolin的Ubuntu 12.04在2012年4月26日诞生。这是一个令很多linux爱好者振奋的日子,Ubuntu 12.04 LTS发布势必会掀起新的升级高潮,...
Ubuntu12.04下的JDK安装,首先到官网上下载jdk-7u51-linux-x64.tar.gz。
Ubuntu12.04的apt-get搜狐源,直接下载至/etc/apt/下即可,执行apt-get update
ubuntu12.04 server版本,虚拟机共享宿主机的无线网上网,亲测,有图。
ubuntu12.04安装及配置过程详解
ubuntu12.04下Java开发环境的搭建
详细描述了ubuntu12.04版本的使用,对于linux的详细学习还是要看书
ubuntu12.04 服务器 入门指南,包含有关如何安装和配置各种服务器的信息。
Ubuntu 12.04 菜鸟使用手册(全)
VMWare8.0安装Ubuntu12.04教程,傻瓜式安装教程,很详细
zabbix2.03在ubuntu12.04上的安装(最新)