Btw:
Totem (GNOME `s Video Player) has very similar problem.
It «lies» about its .desktop file name. It says "totem" instead of
"org.gnome.Totem".
My app asks for it via DBus/MPRIS2 and gets wrong data.
$ locate -i totem | grep ".desktop"
/usr/share/applications/org.gnome.Totem.desktop
It is hard
Osmo Antero
20:53 (há 11 minutos)
para tito-wolit
Hello Tito,
Muito obrigado.
Thank you, the call with "kde4-" worked fine.
However, the "DesktopEntry" value from Amarok/DBus does not contain the
"kde4" part.
Please see the MRIS2-spec:
https://specifications.freedesktop.org/mpris-spec/latest/Med
On 3/3/19 6:36 PM, Osmo Antero via gtk-app-devel-list wrote:
Hello,
I have an application that uses g_desktop_app_info_new() function to
find GDesktopAppInfo.
I just wonder why the g_desktop_app_info_new() FAILS to find the
GDesktopAppInfo if the .desktop file is in a sub directory
under usr/
Hello,
I have an application that uses g_desktop_app_info_new() function to
find GDesktopAppInfo.
I just wonder why the g_desktop_app_info_new() FAILS to find the
GDesktopAppInfo if the .desktop file is in a sub directory
under usr/share/applications/.
So this fails:
GDesktopAppInfo *app_info = g