[Thunar-dev] Unmount CD by pressing eject button on device

Mike Massonnet mike.massonnet at gmail.com
Tue Jan 16 11:06:28 CET 2007


On Tue, Jan 16, 2007 at 08:47:06AM +0100, Benedikt Meurer wrote:
> Mike Massonnet wrote:
> > On Mon, Jan 15, 2007 at 04:59:24PM +0100, Benedikt Meurer wrote:
> >> Harold Aling wrote:
> >>>>>>> Until recently I was able to eject CDs/DVDs by pressing the physical
> >>>>>>> button on the device itself. It now seems that the only way to
> >>>>>>> eject is
> >>>>>>> by rightclicking the (mounted)device icon and selecting "Eject
> >>>>>>> Volume".
> >>>>>>>
> >>>>>>> My bad or buggy?
> >>>>>>>             
> >>>>>> HAL emits a signal when the Eject button is pressed, but I didn't care
> >>>>>> to check so far, and so Thunar never used that. Maybe you had some
> >>>>>> other
> >>>>>> software installed that was listening for this HAL signal?
> >>>>>>         
> >>>>> Dunno... Maybe something built into Ubuntu or something?
> >>>>>
> >>>>> Should this be filed as a feature request for Thunar in bugzilla?
> >>>>>     
> >>>> Jap.
> >>>>   
> >>> Done. http://bugzilla.xfce.org/show_bug.cgi?id=2759
> >> Patch attached, please test.
> > 
> > I doesn't work on my laptop.  I listened to dbus events, but nothing is
> > happening if I press the eject button.  Is there anything else I can do
> > to check the event?
> 
> Did you try with dbus-monitor --system? If so and you don't see the
> DeviceCondition signal with the "EjectPressed" name, then HAL/Linux
> doesn't support the eject button on your CD-ROM drive.

OK, I didn't don't have this support for my drive.

> > Cheers,
> > Mike
> 
> Benedikt

Cheers,
-- 
 Mike (m8t) Massonnet http://massonnet.org/     __oo 
 GnuPG 0--" 0xF8C80F97                      ---(_)_"> 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20070116/33c92bd5/attachment.pgp>


More information about the Thunar-dev mailing list