Note that this is an issue under Ubuntu 14.04. It is not an issue with any other Linux distribution. There is no good reason for this to be closed...
I first wrote my game under Magia Linux, and then tested it on Ubuntu 14.04 LTS to be sure that it works correctly. You can find the Debian packages here: http://tuer.sourceforge.net/en/play/
When I enter "tuer" in command line, it runs my game as expected but when I click on the icon, it doesn't run my game. Setting the "Terminal" attribute to "true" in tuer.desktop
just shows the terminal very quickly but no error message appears. The desktop file is really simple:
http://sourceforge.net/p/tuer/code/HEAD/tree/pre_beta/jndt.xml#l952
There is a symbolic link /usr/bin/tuer
(in the path) to /usr/share/tuer/tuer
. I don't get why it works only in command line under Ubuntu. Maybe the problem comes from the script:
http://sourceforge.net/p/tuer/code/HEAD/tree/pre_beta/jndt.xml#l637
I assume that it's possible to open the desktop file the same way the desktop manager does with gtk-launch, xdg-open or gvfs-open.
What is the issue here?
Update: I have driven the .desktop files executable in order to eliminate a possible root cause as Serg suggested. I've just uploaded the new Debian packages (obviously compatible with Ubuntu).