title: Problem in creating .desktop file, CentOS
body: <p>Hi I have created XYZ.desktop file. And the code for that desktop file is given below</p>
  
  <h2>XYZ.desktop</h2>
  
  <pre><code>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
  </code></pre>
  
  <h2>startXYZ</h2>
  
  <pre><code>#!/bin/sh
  sh "/usr/local/XYZ/Installer"
  </code></pre>
  
  <p>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. </p>
  
  <p>Can anyone please guide me what may be the problem for launching .desktop file</p>
  
  <p>Thanks
  Sunil Kumar Sahoo</p>