Centos 6.6 Create desktop icons

Source: Internet
Author: User

#!/usr/bin/env xdg-open[desktop entry]version=1.0Type=ApplicationName=  Phpstormicon=/root/downloads/phpstorm/bin/webide.pngexec="/root/downloads/phpstorm/ bin/phpstorm.sh" %fcomment=develop with pleasure! Categories=development;ide; Terminal=falseStartupwmclass

#!/usr/bin/env Xdg-open This sentence must have a reference

Http://blog.chinaunix.net/uid-26495963-id-3409921.html

http://blog.163.com/sweetlife_112/blog/static/115931720103147453615/

exec represents the application's location "modified as appropriate"

Icon represents the location of the application icon "modified as appropriate"

A value of terminal false indicates that the command-line window is not started at startup, and a value of TRUE indicates that the command-line window was started with "recommended false"

The name must end with ". Desktop" (not including the quotation marks) and place the file in the Desktop folder for example: Mine is/root/desktop.

Finally, add the executable permission to do it.

Reference website: http://www.2cto.com/os/201406/306618.html

Centos 6.6 Create desktop icons

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.