Add eclipse to dash

Source: Internet
Author: User

Address: http://blog.chinaunix.net/uid-26772897-id-3169468.html

In ubuntu12.04 dash home, each icon corresponds to a configuration file in/usr/share/applications (the file name suffix is. desktop ). Therefore, to add a custom program initiator in Dash home, you need to create the corresponding configuration file under the file directory. For the syntax of the configuration file, see the configuration file in this directory.
Take eclipse as an example. The method is as follows.

System: ubuntu12.04 beta2 i386

Method: 1. Create the eclipse starter configuration file in the/usr/share/applications directory.


  1. CD/usr/share/Applications
  2. Vim eclipse. Desktop
2. Edit eclipse. desktop and save it. Simple configuration example:
  1. [Desktop entry]
  2. Version = 1.0
  3. Name = eclipse
  4. Exec =/home/Hu/soft/Eclipse/eclipse
  5. Terminal = false
  6. Icon =/home/Hu/soft/Eclipse/icon. XPM
  7. Type = Application
  8. Categories = Development

For example:

[Desktop entry]
Version = 1.0
Name = eclipse
Exec =/home/AOE/tools/eclipse-mobile
Terminal = false
Icon =/home/AOE/tools/eclipse-mobile/icon. XPM
Type = Application
Categories = Development

Related Article

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.