[PLEASE TEST] emit "EjectPressed" signal on optical drive

Andrey Borzenkov arvidjaar at mail.ru
Tue Oct 25 09:35:47 PDT 2005


On Tuesday 25 October 2005 20:20, Richard Hughes wrote:
> On Tue, 2005-10-25 at 19:51 +0400, Andrey Borzenkov wrote:
> > On Tuesday 25 October 2005 13:46, Richard Hughes wrote:
> > > My girlfriend got well confused when I said she had to right click the
> > > icon on the desktop before she could eject a cdrom. If g-v-m unmounts
> > > and ejects the drive (assuming no-one has files open) on the
> > > EjectPressed event, then it would be *so* new-user friendly.
> >
> > While I do not object to the idea of EjectPressed noificaion, what's
> > wrong with
> >
> > # to be able to eject via the device eject button (magicdev)
> > dev.cdrom.lock=0
>
> Where does this go?
>

On Linux - in /etc/sysctl.conf or equivavlent on your distro.

{pts/1}% sysctl dev.cdrom.lock
dev.cdrom.lock = 0

I do not know if other OSes have something similar.

-andrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20051025/7a12a3e5/attachment.pgp


More information about the hal mailing list