[Ubuntus手记]Ubuntu12.04及11.10中,将Eclipse ping到快速启动栏

1.创建一个文件:

gedit ~/.local/share/applications/opt_eclipse.desktop

2.将下面的内容复制到打开的文档中,需要自己编辑的是Icon和Exec两项,分别对应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;

3.输入下面的命令

nautilus ~/.local/share/applications

4.右键点击opt_eclipse文件,Properties->Permissions    选中Allow execution...选项,这时已经变成了一个Eclipse的启动图标,将其拉到快速启动栏,锁定在上面,下次就可以启动了

你可能感兴趣的:(eclipse,ubuntu,文档,Terminal)