Mailinglist Archive: opensuse (3139 mails)
| < Previous | Next > |
Re: [opensuse] eject a DVD without Gnome/KDE
- From: Frank Steiner <fsteiner-mail1@xxxxxxxxxxxxxx>
- Date: Mon, 02 Oct 2006 09:33:36 +0200
- Message-id: <4520C0D0.70507@xxxxxxxxxxxxxx>
Carl-Daniel Hailfinger wrote
> 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>
That's strange here. Pressing the button works sometimes, sometimes not.
That's with or without the code added to IvmConfigConditions.xml. When
it does not work, I don't even see any reaction in the logfile (called
ivman with -d) when presing the button. Just like the event didn't
reach ivman. However, when it works, it works even without the code
in IvmConfigConditions.xml. This is very confusing :-)
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> 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>
That's strange here. Pressing the button works sometimes, sometimes not.
That's with or without the code added to IvmConfigConditions.xml. When
it does not work, I don't even see any reaction in the logfile (called
ivman with -d) when presing the button. Just like the event didn't
reach ivman. However, when it works, it works even without the code
in IvmConfigConditions.xml. This is very confusing :-)
cu,
Frank
--
Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17 Phone: +49 89 2180-4049
80333 Muenchen, Germany Fax: +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |