> So $datadir will change depending on $prefix.

Yep, but desktop files are in fixed locations defined in $XDG_DATA_DIRS so 
unless thats updated to point to wherever $prefix/share/applications says to 
install it, the desktop file won't be found, its just lucky your install 
location is in your $XDG_DATA_DIRS, ~/.local is not in mine for eg.  (that was 
the point @b4n made)

> > Just a query, shouldn't it be called org.geany.Geany.desktop?

> I see that format used in appdata files, but I don't see any desktop files 
> with that filename.

Sorry should have put the reference, the [desktop file 
spec](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html)
 says "For applications, the part of the name of the desktop file (before the 
.desktop) should follow the "reverse DNS" convention, e.g. 
org.example.FooViewer.desktop."



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2728#issuecomment-761708104

Reply via email to