that's the problem a possible malformed auto generated *.desktop file
and likely a miss configured shell script
when you double click it you do NOT need the rest of the needed code
this is an example for a program i use , a custom hacked version of Celestia
-- do to the needed hack, i need to run this program from the folder the exec is in , that issue causes a desktop file and menu item problems
two things
a shell script
then the desktop file
the shell script needs to cd to the folder the program is in !!!!!
-- that is needed ---
"QT4.Celestia5229.SVN.sh"
--- shell --
Code:
#!/bin/sh
cd /DATA/SUSE12/bin/
./QT4.celestia.SVN5229
then the desktop file for this shell script
"QT4.CelestiaSVN5229.desktop"
Code:
[Desktop Entry]
Categories=Astronomy;Education;Science;
Comment=3d Space Sim
Exec=/DATA/SUSE12/bin/QT4.Celestia5229.SVN.sh
GenericName= 3D Space Sim.
Icon=/DATA/SUSE12/share/pixmaps/splash.png
MimeType=
Name=QT4.Celestia5229.SVN
Path=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
the shell has to cd to the folder FIRST
then run the program
now your desktop file will be a bit different ( this is a KDE4 file)
and it needs to point to the shell script as the "exec" file