[ubuntu] automatically unmount CDs?

view full story

http://ubuntuforums.org – Unless I'm misremembering, when I first installed Ubuntu (11.10) on my computer, I could simply hit the eject button on my optical drives (2x HP DVD-RW drives) and the disc would eject. Now I'm finding that I can't do that. Instead I have to manually unmount the volume, using, e.g., Code: sudo umount /dev/sr1 , and then I can eject the disc with no problem. Is there a way I can get it to unmount the disc automatically when I press the eject button? (Hardware)