Bit puzzled by Gio. Specifically, launching a DesktopAppInfo doesn't always work. Bit of Python:

import gi;gi.require_version('Gtk', '3.0');from gi.repository import Gio,Gtk

polari=Gio.DesktopAppInfo.new('org.gnome.Polari.desktop'); print(polari.get_filename()) # -> /usr/share/applications/org.gnome.Polari.desktop
gimp=Gio.DesktopAppInfo.new('gimp.desktop');
print(gimp.get_filename()) # -> /usr/share/applications/gimp.desktop

gimp.launch() # this works fine, and launches gimp
polari.launch() # this does not work; launches nothing

What's the difference here? Is there some cleverer way to launch things?


Shared publiclyView activity