Some of my .desktop launchers aren't working. When I try to execute it from the main menu nothing happens. When I try to launch it from a terminal I get the following:
$ /usr/share/applications/qjoypad.desktop
/usr/share/applications/qjoypad.desktop: line 1: [Desktop: command not found
/usr/share/applications/qjoypad.desktop: line 8: Utility: command not found
Here are the contents of the launcher:
[Desktop Entry]
Version=1.0
Name=QJoyPad
Exec=/usr/games/qjoypad
Icon=/usr/share/pixmaps/qjoypad/gamepad2-24x24.png
Terminal=false
Type=Application
Categories=Game;Utility;
File permissions:
$ ls -l /usr/share/applications | grep -i qjoy
-rwxr-xr-x 1 root root 173 Mar 10 2010 qjoypad.desktop
I have not edited the file since I installed the package. It was working 2 days ago. Not sure what caused the change. Most of my other launchers work fine.
I am on Linux Mint 15 64-bit:
$ uname -r
3.8.0-19-generic
--- Edit ---
Actually, it doesn't look like any of my launchers can be executed from a terminal. How can I figure out why it's not launching from the system menu?
--- Edit ---
I can launch it from the file manager (Nemo). (forgot to mention I'm using Cinnamon desktop)
--- Solved ---
Right-clicked on main menu button and selected "Edit menu". Then I hit "Restore System Configuration". Now it's working.