alec.leamas
January 14th, 2013, 01:13 PM
I have a .desktop file which gives the message above when trying to run it. The file:
[Desktop Entry]
Name=My Spotify
GenericName=Music Player
Comment=Listen to music using Spotify
Icon=spotify-client
Exec=/home/al/bin/my-spotify
TryExec=/home/al/bin/my-spotify
Terminal=false
Type=Application
Categories=Qt;Audio;Music;Player;AudioVideo;Educat ion;
MimeType=x-scheme-handler/spotify;
I'm really trying to make this a personal thing and stores it in ~/.local/share/applications. But storing in /usr/share/applications gives same result. I have
Used it successfully on other distributions/desktops.
Tested on a clean, virtual desktop install of 12.10.
Logged out-in to reset unity.
Set 755 permissions on the file.
Run the script my-spotify from the command line, n p.
Pasted some "set -x; exec &>/tmp/foo into my-spotify for logging. This logs all commands into /tmp/foo. However, the log file is not even created.
My conclusion is that unity refuses to even invoke my otherwise working wrapper my-spotify. But why? Are there logs somewhere?
"leamas scratches his head"
[Desktop Entry]
Name=My Spotify
GenericName=Music Player
Comment=Listen to music using Spotify
Icon=spotify-client
Exec=/home/al/bin/my-spotify
TryExec=/home/al/bin/my-spotify
Terminal=false
Type=Application
Categories=Qt;Audio;Music;Player;AudioVideo;Educat ion;
MimeType=x-scheme-handler/spotify;
I'm really trying to make this a personal thing and stores it in ~/.local/share/applications. But storing in /usr/share/applications gives same result. I have
Used it successfully on other distributions/desktops.
Tested on a clean, virtual desktop install of 12.10.
Logged out-in to reset unity.
Set 755 permissions on the file.
Run the script my-spotify from the command line, n p.
Pasted some "set -x; exec &>/tmp/foo into my-spotify for logging. This logs all commands into /tmp/foo. However, the log file is not even created.
My conclusion is that unity refuses to even invoke my otherwise working wrapper my-spotify. But why? Are there logs somewhere?
"leamas scratches his head"