The Device Notifier

Patrick O'Callaghan pocallaghan at gmail.com
Fri Jul 24 15:51:06 UTC 2009


On Fri, 2009-07-24 at 10:32 +0200, Michal Hlavinka 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/.
> >
> > (ii) How on earth would one go about just mounting the device? Is there
> > some call to hal or whatever that can be made?
> 
> Modifying device actions does not work for you?
> System Settings -> Advanced -> Device Actions
> add -> name = "Mount only"
> command=/bin/true
> fill the same parameters as in "Open with File Manager"
> 
> this is what I'm using and works fine for me, but I don't know if this is not 
> only KDE 4.3 feature.

There is no "Device Actions" icon on my system. I have KDE
4.2.4-2.fc11.x86_64. Sounds like it could at least partially satisfy my
request.

poc




More information about the kde mailing list