4

I am 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 launching the application.

And same goes if I copy paste the .desktop file on my desktop and run it.

Anyone can help?

  • What happens when your run /opt/PhoenixViewer/snowglobe through a terminal? What if you mark the .desktop file as executable (Properties->Permissions->Allow executing file as program) and then try to launch it? – hytromo Oct 21 '12 at 08:08
  • Okay, I'm not that new. I did both before I post the question. Same thing. I even checked the other .desktop files, they don't have permission to execute. snowglobe IS executable (just in case). The problem is that for some reason my dash doesn't recognize my file as Desktop Entry. I even tried to re-create the file, just in case. Still nothing. – Not Amused Oct 21 '12 at 09:31
  • 1
    Ήντα γίνεται ρε παιδί; – hytromo Oct 21 '12 at 14:29
  • 1
    Μια χαρά, τα Ubuntu μου τα σπάνε ολίγων τι... αλλά ντάξει. – Not Amused Oct 22 '12 at 06:14
  • @hakermania and DeusDeceit: Please keep your comments in English. (αν και με κάνατε να γελάσω, τρομάρα σας). – terdon Oct 14 '16 at 13:02

1 Answers1

2

This one works.

[Desktop Entry]
Version=1.0
Type=Application
Name=Phoenix Viewer
Comment=Second Life Client
Exec=/opt/PhoenixViewer/snowglobe
Icon=/opt/PhoenixViewer/phoenix_icon.png
Terminal=false
StartupNotify=true 
StartupWMClass=snowglobe-do-not-run-directly
Categories=Game
Chris Duncan
  • 263
  • 1
  • 2
  • 8