为了给eclipse创建启动栏图标,我们可以在/usr/share/applications目录下创建文件eclipse.desktop(文件名可以任意,但是文件名后缀必须是.desktop),再将下面的内容复制过来:
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/usr/local/development/eclipse-indigo-3.7.2/icon.xpm//(注:此为eclipse的解压目录下的图标)
Exec=/home/runner/jee-mars/eclipse/eclipse//(注:此为eclipse的解压目录下的运行程序eclipse)
Terminal=false
Categories=Development;IDE;Java;
创建完成之后在DASH 中搜索然后拖到左边的启动栏中就可以了
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/usr/local/development/eclipse-indigo-3.7.2/icon.xpm//(注:此为eclipse的解压目录下的图标)
Exec=/home/runner/jee-mars/eclipse/eclipse//(注:此为eclipse的解压目录下的运行程序eclipse)
Terminal=false
Categories=Development;IDE;Java;
创建完成之后在DASH 中搜索然后拖到左边的启动栏中就可以了