[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kde, udev, hal and friends...



On Sunday 30 April 2006 11:01, Florian Kulzer wrote:
> > Actually, it works great. The only  thing that bothers me is that I don't
> > know how to define my own actions? I searched, but I could not find how
> > to do it.
>
> If I remember correctly, you can choose from a set of standard actions
> when you insert a new media type for the first time. You can change this
> later and also select other programs/commands to handle a given media
> type if you go to "K-Menu > Control Center > Storage Media >
> Notifications > Add / Toggle as Auto Action". (You also need to activate
> the three options on the "Advanced" tab for this to work.)

That's correct. I missed it.

However, I can't make it work the way I would like to. For instance, let's 
suppose that I want to mount automatically any removable device, without 
opening Konqueror window.

I created and added to the unmounted removable device the "Automount" action, 
executing the following command:
pmount %u
But it does nothing! (actually, I don't know exactly what is this %u. My guess 
is that it is a string corresponding to the /dev/device_detected).

And when I click on the help, it says something like "write me",  which is not 
so helpful :o)

How can I define the action I want to run?
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Gurvan Huiban

     "My mother used to make coffee this way...
       Hot...
        Strong...
         And good."    (from "Once upon in the West")



Reply to: