I'm not sure that the Ubuntu change about /bin/eject is needed but the 
following patch does:
1) factorize the killall in a daemon_running function.

2) if gnome-setting is running assume it take care of eject/load cd.
This one need a patched /bin/eject because on my Macs ioctl always return EIO 
and eject -T doesn't try to close the CD. 
Also need to use eject -T as cmd in gnome-setting. cf bug #37785

3)  don't close the drive just after ejecting it with /bin/eject


** Attachment added: "eject key handling"
   http://librarian.launchpad.net/6737352/pbbutonsd.patch

-- 
reclose the CD tray if a CD is mounted and fight with gnome for eject key
https://launchpad.net/bugs/91599

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to