Desktop File Not Working :(

Hey everyone! :wave:

This should be fairly simple, but I can’t seem to figure it out, so I’d appreciate some assistance.

I’ve installed discord canary from binaries, but I can’t get a desktop entry to work correctly.

Here’s what I’ve tried:
Copy supplied file to ~/.local/share/applications
Copy supplied file to /usr/share/applications
Trimmed some of the “extras” out of the file
Tested a new file from the example on https://developer.gnome.org/integration-guide/stable/desktop-files.html.en

However I don’t have an icon for either Discord Canary, or the sample from the website. Given the example doesn’t work, I conclude that something must be broken, but I don’t know what.

I don’t see anything in journalctl that is relevant to this, so I’d appreciate some other ideas.

Thanks in advance!

May sound silly, but is the “Exec” pointing to the correct location in the .desktop file?

1 Like

And for that matter, is the .desktop file executable?

1 Like

The .desktop file does not need to be executable.

2 Likes

I think this was the problem, though I’m not quite sure. It may also be related to a system reboot.

GNOME, or at least a portion of it, is crashing a lot. I don’t know the details of what is going on, but I’m not surprised if there are side effects. There is a bug filed on the crash already, which looks like it will be fixed soon!

My discord .desktop file is working now, though the example file is not. I’m happy with this, as I wanted the discord one to work; the example was only for testing.

Thank you everyone for your replies. :slight_smile:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.