Re: A few requests...

----- Original Message -----
> Date: Mon, 18 Aug 2008 22:36:36 +1000
> De: <tpgww@xxxxxxxxxxx>
> À: emelfm2@xxxxxxxxxxxxx
> Sujet: Re: A few requests...

> On Sun, 17 Aug 2008 20:21:36 -0400
> Grégory SCHMITT <gy.schmitt@xxxxxxxxx> wrote:

> > > > - Would it be possible to have an option (to be specified by the
> > > > user, in the config panel) that would define a command to be run
> > > > after mounting/unmounting devices is done (and returns 0) ?
> > > Create an alias ?
> > 
> > I'm rather against creating an alias for critical commands such as
> > mount and umount, especially since my HAL manager and others rely on
> > these commands. Also, the command I intend to use uses X, and I
> > don't want mount to fail or return an error message when X is not
> > started. So I guess an alias isn't really an appropriate solution
> > for me.
> I meant an e2 alias, not a system-wide one.
> 
> I'm not sure what scenario you're describing. No X == no emelFM2.

I'm now using an alias for umount that does popup a nice notification
that the device is now ready to be removed (emelfm2 svn rev. 1105).

I defined the command "umount" to be replaced by

umount \2 && notify-send -u critical -t 4000 'Ivman' 'Can remove'

as soon as umount is done and returns 0. However, the double ampersand
operator seems to confuse emelfm2 (an OR operator is fine, however, as
well as the semi-colon). I looked into the doc (the ACTIONS file) and
didn't see anything relevant. Any idea ? 

-- 
Grégory SCHMITT <mailto:gy.schmitt@xxxxxxxxx>


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: