Add the icon shortcut for the program in ubuntu

Source: Internet
Author: User

In ubuntu, add the icon shortcut for the program. For example, if I installed javaEE eclipse on my ubuntu, this software can be directly decompressed. At this time, there is no corresponding icon in the navigation bar, there is no icon in the Software Center in the upper left corner. You have to use commands to start the Software Center each time you start it. Now you can create an icon shortcut for it. Suppose that I decompress javaEE eclipse to open the terminal in/opt/eclipse, and sudo nano/usr/share/applications javaEE. enter [desktop Entry] Encoding = UTF-8 Name = JavaEE eclipse Comment = IDE for Rails, Python, PHP, JSP Exec =/opt/eclipse ------ Here is the startup command position of your program Icon =/opt/eclipse/icon. xpm ------- the icon you want to use. Generally, after the installation package is decompressed, there is an icon in it. You can also use another icon Terminal = false Type = Application Categories = GNOME; Application; Development; startupNotify = true and then save OK.

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.