执行命令:sudo gedit /usr/share/applications/eclipse.desktop(要创建的快捷方式)
[Desktop Entry]
Type=ApplicationName=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=eclipse //图标
Exec=/home/ruili/codingTool/eclipse/eclipse // 程序路径
Terminal=false
Categories=Development;IDE;Java;