! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
RF: Unmount + eject volume if HAL sends eject signal (button on device)
Status:
CLOSED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Harold Aling 2007-01-15 15:01:31 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy)
Build Identifier: 

(copied from ML)

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".

Benedikt's reply:
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.



Reproducible: Always

Steps to Reproduce:
Comment 1 Benedikt Meurer editbugs 2007-01-15 15:58:07 CET
Created attachment 941 
Possible patch

Ok, try this patch please (requires latest exo).
Comment 2 Harold Aling 2007-01-16 09:59:32 CET
(copied from ML)

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...
Comment 3 Benedikt Meurer editbugs 2007-01-16 14:41:49 CET
Committed with revision 24507.

2007-01-16      Benedikt Meurer <benny@xfce.org>

        * thunar-vfs/thunar-vfs-volume-hal.c, thunar-vfs/thunar-vfs-volume.c,
          thunar-vfs/thunar-vfs-volume-private.h, thunar/thunar-application.c:
          Allow to use "Eject" button on CD-ROM drives to unmount and eject
          the media. Bug #2759.

Bug #2759

Reported by:
Harold Aling
Reported on: 2007-01-15
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Possible patch (11.47 KB, patch)
2007-01-15 15:58 CET , Benedikt Meurer
no flags

Additional information