2016-12-18 15:45 GMT+01:00 Petter Reinholdtsen <p...@hungry.com>: > [Matthias Klumpp] >> This is because you are using the PackageKit session interface, which >> needs a session service (like GNOME Software) to provide the frontend >> bits. Ideally, KDE Discover would support that too, but it doesn't. > > Right. But why isn't this working after installing gnome-software?
It should be working - if it isn't, then it is a bug in your code or in GNOME Software itself - worth investigating, I think. >> Another solution is of course to use the PackageKit system interface >> via the GIR and provide the necessary GUI dialogs by yourself. > > I would be happy to, but find no example or documentation on how to do > this in Python. Any clues to spare? It's relatively easy, you can access the API directly via GObject introspection. A while ago I wrote a C example which you can find at https://www.freedesktop.org/software/PackageKit/pk-using.html - this should be very easy to translate to Python. Stuff like system-config-printer also seems to use PK via GIR. Cheers, Matthias -- Debian Developer | Freedesktop-Developer I welcome VSRE emails. See http://vsre.info/