Desktop files in ~/.local/share/applications don't show up in default applications list in GNOME settings?

So, I have noticed something that I find odd.
I like using audacious as default audio player. I moved it’s desktop file from /usr/share/applications to ~/.local/share/applications. The reason for this is I want to edit the Exec= line in a way that audacious gets executed via a script that first checks if a given partition is mounted, because I have moved audacious config files there and created a symlink to it.
However, I noticed that as soon as I move the audacious desktop file to ~/.local/share/applications, even without having edited it, it won’t show as a application in GNOME settings–default applications–music/audio player any more.

Is this intended behaviour that apps (at least audacious) in ~/.local/share/applications can’t be set as default application?

Have you tried log out/log in? Sometimes its also happening to me and usually restarting GNOME fixes that.

1 Like

log out/log in doesn’t change that. Neither a reboot. But I figured out running update-desktop-database ~/.local/share/applications/ makes those programs with desktop files in ~/.local/share/applications reappear in the default apps drop-down-menu in GNOME settings.

2 Likes

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