[Thunar-dev] Unmount CD by pressing eject button on device
Benedikt Meurer
meurer at informatik.uni-siegen.de
Tue Jan 16 08:47:06 CET 2007
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.
> Cheers,
> Mike
Benedikt
More information about the Thunar-dev
mailing list