Chance to close the CD-Drive before shutting down

Projet:Trisquel
Version:6.0
Composant:Live System
Catégorie:Demande d'amélioration
Priorité:minor
Attribué:Non assigné
Statut:active
Description

When the system is asked to shutdown, the system ejects the CD and instantly shutdown, leaving the CD-ROM drive open. I think it'd be good if the system ask the user to take the CD-ROM from the drive and qhen he/she press a key the system turns off.

ven, 02/07/2014 - 21:58
Titre:Chance to take the CD before shutting down» Chance to close the CD-Drive before shutting down

I've change the title as it was wrong.

Sam, 02/08/2014 - 11:55

Yeah, power off while tray out is less than optimal. But, it might depend on your CD drive hardware behavior. According to eject man page

-a on|1|off|0
This option controls the auto-eject mode, supported by some devices. When enabled, the drive automatically ejects when the device is closed.

So, perhaps you should try eject -a off to see if that prevents the eject at shutdown. If it works, add it to startup scripts, e.g. via system settings > startup applications.

Of course if you'd wish to really tinker with this, you'd need to edit the runlevel 0 scripts.