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.