开发者

Problem in creating .desktop file, CentOS

Hi I have created XYZ.desktop file. And the code for that desktop file is given below

XYZ.desktop

Version=1.0
Encoding=UTF-8
Name=XYZ
GenericName=Generic Piece Of Software
Exec=startXYZ
Icon=/usr/local/XYZ/XYZ.png
#Categories=Network;InstantMessaging;
StartupNotify=true
Type=Application
Terminal=false
Name[en_US]=XYZ

startXYZ

#!/bin/sh
sh "/usr/local/XYZ/Installer"

If I run the start startXYZ file using then it launches application but If I double click on .desktop file it doesnot open the application. The same file worked fine in Fedora but not working in CentOS. There is no file missing.

Can anyone 开发者_高级运维please guide me what may be the problem for launching .desktop file

Thanks Sunil Kumar Sahoo


Is startXYZ located in your $path?

Do you have [Desktop Entry] at the top of XYZ.desktop?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜