Chance to close the CD-Drive before shutting down

Proxecto:Trisquel
Versión:6.0
Componente:Live System
Categoría:solicitude de mellora
Prioridade:minor
Asignado:Sen asignar
Estado:active
Descrición

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 - 20:58
Título: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.

Sáb, 02/08/2014 - 10: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.