I a new ubuntu 12.04 user.
I've read my stuff and copied/pasted code from here and there trying to make my second life client have a shortcut on the sidebar. I did this before... I did a format to my hard drive and everything is lost. Here are the details:
Filename= PhoenixViewer.desktop
code inside the file:
[Desktop Entry]
Version=1.0
Type=Application
Name=PhoenixViewer
Exec=/opt/PhoenixViewer/snowglobe
Comment=PhoenixViewer
Categories=Games;
Terminal=false
Icon=/opt/PhoenixViewer/phoenix_icon.png
StartupNotify=true
StartupWMClass=snowglobe-do-not-run-directly
My dash can't even see the file as a desktop element. It lists it as PhoenixViewer.desktop and it has another icon than the one I list in code. The paths are correct.
When I run it from nautilus in /usr/share/applications/ I get the error:
There was an error lunching the application.
And same goes if I copy paste the .desktop file on my desktop and run it.
Anyone can help?
/opt/PhoenixViewer/snowglobethrough a terminal? What if you mark the .desktop file as executable (Properties->Permissions->Allow executing file as program) and then try to launch it? – hakermania Oct 21 '12 at 8:08