This question already has an answer here:
- Running a .desktop file in the terminal 12 answers
I have a .desktop file that contains these lines:
[Desktop Entry] Name=Firestorm Comment=Client for Online Virtual Worlds, such as Second Life Exec=/home/deus/Programs/Firestorm_64bit/firestorm Icon=/home/deus/Programs/Firestorm_64bit/firestorm_icon.png Terminal=false Type=Application TargetEnvironment=Unity StartupWMClass=do-not-directly-run-firestorm-bin Categories=Application;Network; StartupNotify=true
I just re-installed Ubuntu 14.04 before the reinstall this file worked just fine. Now it doesn't. I did set the exec property.
When I run it from terminal I get this:
deus@xxx:~/DesktopShortcuts$ ./firestorm.desktop ./firestorm.desktop: line 1: [Desktop: command not found ./firestorm.desktop: line 3: for: command not found ./firestorm.desktop: line 10: Network: command not found
Can anyone tell me what the problem is and how to fix it?