@Peter Bennett
Ok, I finally managed to test this with CDs and worked out the problem.
This was a fault in my shell script.
The test line in the script should be 'if [ "$n" -ne '0' ];then umount
/dev/sr0;fi'. Note the command should have been 'umount' not 'eject'.
Complete solution taking the ab
@ Peter Bennet (comment #30)
Sorry, I don't use Video CD's so I can't check what the problem is - presumably
'dvd-rw-mediainfo' doesn't recognise Video CD's and produces an error of some
kind. You could try running 'dvd-rw-mediainfo /dev/sr0; echo "status = $?"'
while a Video CD is in the drive
The bug is still present in a new install of Xubuntu 16.04 (and
presumably all the other *buntus using systemd 229), and this workaround
still works:
sudo apt-get install dvd+rw-tools
echo 'KERNEL=="sr0", ACTION=="change", RUN+="/usr/local/bin/sr0_change.sh"' |
sudo tee /etc/udev/rules.d/61-sr0-c
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/
Further to my #10 comment, I forgot to point out that the utility 'dvd
+rw-mediainfo' is in the package 'dvd+rw-tools' in the Ubuntu
repositories.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1168742
After trawling the internet for possible solutions, I have put together
a kludgey script workaround to automatically unmount a dvd when it's
ejected via the dvd drive eject button.
This kludge assumes the dvd drive is /dev/sr0 and the shell script uses
/bin/sh; customise according to your system c
This bug is still present in Ubuntu 14.04 3.13.0-32-generic (both 32bit
and 64bit).
This makes Ubuntu and derivatives problematic for newbie users who
expect cd/dvd ejection to just work as it does in Windows. Having to
manually unmount the drive before inserting another disc is a poor
solution.
Public bug reported:
Xubuntu 14.04
POV-Ray installs shell scripts to render example scenes.
The shell scripts are installed into /usr/share/povray-3.7/scripts in
Xubuntu 14.04.
The scripts refer to paths that do not exist in the Ubuntu installation,
and do not check the Ubuntu installation path
Also occurs on clean install of Xubuntu 14.04 x64 on 2 (very) different
computers.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309369
Title:
Filtered list rendered incorrectly after refresh
To m