Frank Steiner wrote:
> we are running SuSE 10.1 with a variety of window managers like ctwm,
> fvwm2, enlightment etc. and are using ivman (now working :-)) for
> automounting CDs/DVDs.
> 
> How are users supposed to eject a DVD after it has been mounted? After

First of all, ivman documentation SUCKS (is non-existent). Even with
hours of googling and reading docs, I could not find a way to tell
ivman that it should use its builtin umount and eject functions.

My cdrom drive is /dev/hdc. Modify the snippet below to fit your
needs and insert it into .ivman/IvmConfigConditions.xml:

    <ivm:Match name="hal.block.device" value="/dev/hdc">
        <ivm:Condition name="EjectPressed" exec="/usr/bin/halmount -u 
'$hal.block.device$'" />
        <ivm:Condition name="EjectPressed" exec="/usr/bin/eject 
'$hal.block.device$'" />
    </ivm:Match>

You now have to press eject twice (because there is no way to
tell ivman to wait for return of the previous command), but
then the CD drive will eject the disc.

It has been said that the eject button works fine with ivman
under gentoo since ages, probably out default config is just
missing these bits.

Regards,
Carl-Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to