[patch] enabling autorun in devicenotifier applet

Kevin Ottens ervin at kde.org
Wed Jan 5 09:20:08 CET 2011


On Wednesday 5 January 2011 09:06:58 Aaron J. Seigo wrote:
> On Tuesday, January 4, 2011, Kevin Ottens wrote:
> > Hm, why not resurrect the support for the Autorun XDG spec[*]? We used to
> > have that but it's defunct for a while, IIRC there's some disabled code
> > for it in the soliduiserver code.
> 
> isn't that for once the medium is mounted?

Yes, that's kind of the caveat with this spec. I remember back in the day 
having some auto-probing for video DVDs prior to mounting them, the same 
technique could be applied for autorun, but that's likely not worth the 
effort.

But my point is that we also have this automounter service nowaday, so the 
autorun logic could be moved there. Of course would mean that automount would 
be a prerequisite to "autorun on insert", but I think that could be a nice 
trade-off.

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud patron of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110105/93d335d0/attachment.sig 


More information about the Plasma-devel mailing list