Ubuntu12.04 manually add the startup icon to the menu bar on the left of the system (starter)

Source: Internet
Author: User
Tags scala ide
Today, after installing ScalaIDE for eclipse in Ubuntu, I can only go to the installation directory and click the start icon to open the program. It is very uncomfortable. I remember the left menu bar that appears when some programs are opened, then you can choose to lock the device to the starter. However, some cases may not occur. The following example shows how to add the program startup icon to the system.

Today, after installing eclipse Scala IDE in Ubuntu, I can only go to the installation directory and click the start icon to open the program. It is very uncomfortable. I remember the left menu bar that appears when some programs are opened, then you can choose to lock the device to the starter. However, some cases may not occur. The following example shows how to add the program startup icon to the system.

Today, after installing eclipse Scala IDE in Ubuntu, I can only go to the installation directory and click the start icon to open the program. It is very uncomfortable. I remember the left menu bar that appears when some programs are opened, then you can choose to lock the device to the starter. However, some cases may not occur. The following example shows how to add the program startup icon to the system menu bar (starter.

The method to add is simple. There are many files ending with desktop in the/usr/share/applications directory. They are the shortcuts we can see in the menu. Create an eclipse. desotop file and write the following content.

[Desktop Entry]Name=eclipseType=ApplicationExec=/usr/share/eclipse/eclipseIcon=/usr/share/eclipse/icon.xpmCategories=Application;Utility;Terminal=false

Keyword description:

Name: the Name of the shortcut.

Type: program Type.

Exec: the program to be executed.

Icon: the Icon of the execution program.

Categories: the location where the shortcut is displayed.

Terminal: whether to use a Terminal.

Here, you only need to modify the name, Exec, and Icon. Exec and Icon paths fill in the file path of your own installation program directory.

Save the modification. Then, you can find the file you just created in the/usr/share/applications directory and click the icon to start the file. This icon appears in the starter, click to lock to the starter, and then start the program from the starter, which is convenient and time-saving.

Original article address: ubuntu12.04 manually add the startup icon to the menu bar (starter) on the left of the system. Thank you for sharing it with me.

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.