How Linux creates a desktop startup icon for an application

Source: Internet
Author: User

This article is mainly about how to create a Quick Launch icon for your application in Linux, but let's say we look at the actual steps:



The example of this article is to create a launch icon for Celipse


1. We need to create a startup script with the following command:

Gedit/usr/share/applications/eclipse.desktop

2. Copy the following contents to the file

[Desktop Entry]
Encoding=utf-8
Name=eclipse
Comment=eclipse IDE
Exec=/usr/local/android/eclipse/eclipse
icon=/usr/local/android/eclipse/icon.xpm
Terminal=false
Startupnotify=true
Type=application
Categories=application;development;


Description section:

Exec: This is the directory of the application executable file

Icon: This is the directory of icons


3. Then you can find the icon you created in the applications-programming menu, then right-click to create a desktop icon



How Linux creates a desktop startup icon for an application

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.