[Thunar-dev] Unmount CD by pressing eject button on device
Harold Aling
h.aling at home.nl
Tue Jan 16 11:00:52 CET 2007
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.
>
I've tested the patch and it works fine on one of my 2 cd/dvd drives. I
then checked the 'dbus-monitor --system' output and only one of the
devices gave me the 'EjectPressed' signal, so it's probably unsupported
in Linux.
Kinda weird though... I have a really mainstream HP desktop with an even
more mainstream HL-DT-STDVD-ROM GDR8163B dvd-rom player...
-H-
>
>> Cheers,
>> Mike
>>
>
> Benedikt
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20070116/0f8888e2/attachment.html>
More information about the Thunar-dev
mailing list