The Device Notifier

Patrick O'Callaghan pocallaghan at gmail.com
Thu Jul 23 21:52:33 UTC 2009


On Thu, 2009-07-23 at 15:33 -0500, Rex Dieter wrote:
> rgheck wrote:
> > Hi,
> > 
> > I'm trying to write a little desktop file that will allow me just to 
> > mount newly inserted devices, rather than to open them with Dolphin. I 
> > can see roughly how to do this, but have two questions:
> > 
> > (i) Is there some local place one can put such files, instead of 
> > /usr/share/kde4/apps/solid/actions/? I've tried putting the file in 
> > .kde/share/kde4/apps/solid/actions/, but that didn't work, and I also 
> > tried .kde/share/apps/solid/actions/.
> 
> I would've expected
> .kde/share/apps/solid/actions/
> to work like the system-provided
> /usr/share/kde4/apps/solid/actions/
> 
> > (ii) How on earth would one go about just mounting the device? Is there 
> > some call to hal or whatever that can be made?
> 
> I think so, gnome-mount (don't let the name fool you) is one way.

The Device Notifier should (but doesn't) have an option to do this. I
filed a bug about it some time back:
https://bugs.kde.org/show_bug.cgi?id=192671

poc




More information about the kde mailing list