Finding original desktop file names
Adrian Vovk
adrianvovk at gmail.com
Sun Jul 14 00:43:24 UTC 2019
Hello,
I'm building a distro + DE that exclusively uses Flatpak for package
management. I'm working on my notification server, and some apps (like
Discord) send over their app IDs in the notification, but they send their
"real" app ID (discord.desktop) and not the app ID the system knows them by
(com.discordapp.Discord.desktop). Is there some way for my shell to look up
which app discord.desktop belongs to? An extra key in all of Flatpak's
generated desktop files would be perfect for this. I'd just loop over all
of the apps on the system and check for
X-Flatpak-RenamedFrom=discord.desktop and I'd know the app's real ID.
Thank you,
Adrian Vovk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190714/b5760c0a/attachment.html>
More information about the Flatpak
mailing list