Score:1

Desktop file doesn't work

au flag

I'm trying to make a desktop file for vcvRack. I have the program and other files saved in ~/.Rack/. The program launches fine when I double click it or launch in from terminal using ./Rack.

The file ~/.local/share/applications/Rack.desktop contains the following.

[Desktop Entry]
Name=Rack
Comment=bleep bloop
Exec=/home/uname/.Rack/Rack
Icon=/home/uname/.Rack/icon-3.png
Terminal=false
Type=Application
Categories=Music;

It shows up in search with icon and all, but it doesn't actually launch. I've tried chmod +x Rack.desktop and sudo chmod +x Rack.desktop, though I don't think either should be necessary.

I have other nearly identical desktop files for other programs that run fine.

Any ideas?

uz flag
Jos
Please run `gtk-launch ~/.local/share/applications/Rack.desktop` from a terminal, and see if the output contains anything useful. You are basically launching your desktop file from a command line this way.
iHnR avatar
au flag
`gtk-launch: no such application /home/uname/.local/share/applications/Rack.desktop` ... Same result for all other desktop files btw.
uz flag
Jos
That would suggest that the desktop file doesn't exist, although the path is the same as what you mentioned.
vanadium avatar
cn flag
Rather try `gtk-launch Rack` . You do not supply a path with gtk-launch. This is not a terminal application? Try adding `Terminal=true` to the launcher
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.