[packagekit] Suggestion

Alexander Larsson alexl at redhat.com
Mon Feb 11 11:29:30 PST 2008


On Mon, 2008-02-11 at 18:01 +0000, Richard Hughes wrote:
> On Mon, 2008-02-11 at 09:31 +0100, Alexander Larsson wrote:
> > > For [2] we'll need an identifier that can be recognized by PackageKit,
> > > maybe just the presence of the file packagekit-update.txt on the CDROM
> > > or DVD. I don't know what the new gvfs world order is on this, ideas
> > > welcome.
> > 
> > gvfs/gio-nautilus introduced the concept of content type, which is kinda
> > like a mimetype but describes the content of an entire mount (i.e. if
> > its a dvd movie, a camera flashcard, etc). We sniff this and use it to
> > pick the default app to open on automount. At the moment the sniffing
> > code is hardcoded in nautilus, but the plan is to break it out.
> 
> Ahh I see, thanks. Is there any API docs for this yet?

No. 

> What concerns me with the nautilus approach is that it ties us to GNOME,
> rather than allowing use on XFCE and KDE. Would the ServicePack stuff be
> better done in packagekitd, as the backend has to be able to do a HAL
> Lock() on the device when the transaction starts.

Not really gnome only. You just define a layout and then both Gnome and
other systems can sniff for it, just like they currently sniff for
autorun and things like dcim.




More information about the PackageKit mailing list