Add a desktop starter in Ubuntu 12.04

Source: Internet
Author: User

In ubuntu 12.04, you cannot use the right-click desktop menu to create an application starter. Here, refer to an online method to create an application:

 

In ubuntu 12.04, each application initiator corresponds to a configuration file (the file suffix is. desktop) in/user/share/applications ). You can add a similar file in the directory to create an initiator.

For example, add an eclipse shortcut,

Go to the/user/share/applications directory and create a new desktop file.

CD/user/share/Applications

Vim eclipse. Desktop

 

A simple configuration example is as follows:

[Desktop entry]

Version = 1.0

Name = eclipse

Exec =/home/*/eclipse (corresponding to the specific path of the eclipse binfile)

Terminal = false

Icon =/home/*/icon. XPM (corresponding to the specific path of the eclipse application icon file)

Type = Application

Categories = Development

 

Add a desktop starter in Ubuntu 12.04

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.