Add a Quick Start item for eclipse in Ubuntu 12.04 Ubuntu 12.04 install eclipse indigo 3.7.2

Source: Internet
Author: User

After eclipse is installed according to install eclipse indigo 3.7.2 in Ubuntu 12.04, it is not very convenient to start it. You need to switch to the terminal status and executeEclipseCommand to start.

 

Ubuntu 12.04 is usedUnityIn the left-side navigation pane of the desktop. We can place an icon in the starter bar of our commonly used software for quick start. Each icon in the starter bar actually corresponds/Usr/share/ApplicationsDirectory.

 

To create a startup bar icon for Eclipse, you can/Usr/share/ApplicationsCreate a file under the DirectoryEclipse. Desktop(The file name can be arbitrary, but the file name suffix must be. Desktop), And then copy the following content:

[Desktop entry]Type=Applicationname=Eclipsecomment=Eclipse Integrated Development environmenticon=/Usr/local/development/eclipse-Indigo-3.7.2/Icon. xpmexec=Eclipseterminal=Falsecategories= Development;IDE; Java;

 

Then weDash homepage search keyword "Eclipse"Is it possible to see an eclipse icon? Click Run. The eclipse application is opened, and the eclipse icon is displayed in the startup bar on the left side of the desktop.

 

You can lock the eclipse icon on the sidebar to avoid searching on the dash homepage every time you execute eclipse. When the eclipse application is executed, right-click the eclipse icon on the sidebar and select"Lock to the initiatorIn this way, you can lock it.

 

Tip: we canEclipse. DesktopFile migration/Usr/local/development/eclipse-Indigo-3.7.2Directory, and then create a symbolic link/Usr/share/ApplicationsIn this way, you do not need to redo this file when reinstalling the system (my system/And/usr/localIs two different partitions ).

 
CD/usr/share/ApplicationsSudo Ln-S/usr/local/development/eclipse-Indigo-3.7.2/Eclipse. Desktop
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.