segunda-feira, 3 de novembro de 2008

Ubuntu Intrepid BUGFIX: CD-ROM tray closes automatically after eject

I've found one more annoying issue in Ubuntu Intrepid: when I hit the (very useful) eject button on nautilus, the CD/DVD is ejected, but it retracts in the blink of an eye... I've almost cracked one of my backup DVDs because of this LAME bug.

So, here's how to quick-fix it:

Copyright © 2008 Everthon Valadão
sudo cp /etc/udev/rules.d/60-persistent-storage.rules /etc/udev/rules.d/60-persistent-storage.rules_bkp
sudo sed -i 's/ENV{DEVTYPE}=="disk", KERNEL!=/ENV{DEVTYPE}=="disk", KERNEL==/g' /etc/udev/rules.d/60-persistent-storage.rules
P.S.: Did you notice that the "bug" consists in this ridiculous programming mistake: the exchange of '!=' for '==' !!! Seriously, do they use 12 years old kids to code the ubuntu system ?!?


Nenhum comentário: