This is a static archive of the old Zorin Forum.

The information below may be outdated. Visit the new Zorin Forum here ›

If you have registered on the old forum, you will need to create an account on the new forum.

Open the tray of the dvd-rom [Solved]

Hensyr Wolf

Mon Jan 04, 2016 10:32:42 pm

in windows you can access the dvd-rom as there is no dvd or cd is inserted and open the tray from whitin windows
in Zorin i can't find the device to open the tray if no dvd or cd is in the drive

only when a cd or dvd is inserted in de drive the drive becomes visible

is there any way to open the tray from within Zorin if there is no dvd or cd in the drive?

Swarfendor437

Tue Jan 05, 2016 12:49:30 pm

Hi Hensyr,

Not sure you can - all I could find near to it was this article which uses the Terminal:

http://linuxconfig.org/how-to-mount-cdrom-in-linux

Hensyr Wolf

Wed Jan 06, 2016 8:50:04 am

Hi Swarfendor437,

You made my day,
In the link you provide is a simple command.
Code:
eject

nothing more than that and it just work like a charm.

Thanks a lot mate.

Swarfendor437

Wed Jan 06, 2016 12:53:24 pm

Glad to be of help friend! ;) :D

Guess you could make a script and create an icon on your desktop? ;)

Hensyr Wolf

Thu Jan 07, 2016 10:01:10 pm

Hi Swarfendor437,

After a long search on the Internet I finally found a script that can open the CD-ROM tray and close it again.
I also found an appropriate icon.
This is the script:
Code:
#!/bin/sh
exec /usr/bin/eject -T &

and this is the icon:
Image

It works like clockwork

Swarfendor437

Fri Jan 08, 2016 1:08:41 pm

Nice! :D