#!/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