Ubuntu解压Eclipse IDE后并不会在侧边栏显示启动图标,为了能在侧边栏显示,方便启动,可以新建一个desktop文件,具体步骤如下:

 # switch to root account
su -
# input password
tar -zxvf eclipse-java-mars--linux-gtk-x86_64.tar.gz -C /opt
vim /usr/share/applications/eclipse.desktop
# input the following words
[Desktop Entry]
Name=Eclipse
Comment=Develop java
Exec=/opt/eclipse/eclipse %U
Terminal=false
Icon=/opt/eclipse/icon.xpm
Type=Application
Categories=GTK;Utility;IDE;
X-Ayatana-Desktop-Shortcuts=NewWindow; [NewWindow Shortcut Group]
Name=New Window
Exec=/opt/eclipse/eclipse
TargetEnvironment=Unity

关闭保存。然后注销,登陆桌面,打开dash,搜索eclipse,找到eclipse图标后拖到侧边栏,搞定。

最新文章

  1. C++11之lambda表达式
  2. php页面静态化
  3. Linux IPC socket编程基础
  4. phpunit测试成功 phpunit测试实践代码
  5. SQL经典短小代码收集
  6. 一步一步使用sklearn
  7. [LeetCode228]Summary Ranges
  8. Intel® Ethernet Connection I217-V 网卡驱动(win10 ,2012)
  9. npm 项目更换目录后无法启动
  10. 开始使用PHPUnit单元测试
  11. git reset揭秘
  12. 【代码笔记】Web-CSS-CSS Positioning
  13. Maven 学习总结 (一)
  14. 三个水杯——java,广度优先搜索
  15. Azure系列2.1.6 —— BlobProperties
  16. Fiddler模拟低速网络
  17. linux(centos 7)下安装elasticsearch 5 的 IK 分词器
  18. Linux 重启nginx
  19. windows安装ssh工具opensssh
  20. css经典布局—Sticky footers布局

热门文章

  1. Spark集群搭建步骤
  2. 解读<!doctype html>
  3. Zabbix-agent使用自带模板监控 MySQL
  4. Girl Develop It Chapter Leaders at 2015 Annual Leadership Summit
  5. case a.ass_term_unit when '01' then (case a.ass_profit_mode when '0' then round(sum(a.ass_amount*a.ass_annual_rate/365*365*a.ass_term/100) ,2) when '1' then round(sum(a.ass_amount*a.ass_annual_rate/
  6. 打印java堆栈信息
  7. winform自动更新并实现文件的批量异步下载
  8. Python快捷键
  9. 跑github上的Symfony项目遇到的问题
  10. re模块 | Python 3.5