Further again to my #10 comment: My apologies, the shell script '/usr/local/bin/sr0_change.sh' above posted only works for dvd media.
The following should (?) work for other media (eg. audio CDs) as well: #!/bin/sh dvd+rw-mediainfo /dev/sr0 > /dev/null n=$? if [ "$n" -eq '251' ];then eject /dev/sr0;fi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1168742 Title: Disks are not unmounted when physical eject button is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1168742/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs