Possibility to physically eject the DVD-drive using linux software/linux commands?

For Windows you can download and install a program called win-eject that physically ejects the DVD-drive saving the user to fumble with the DVD-drive’s eject button and also prevents physical wear-off of the DVD-drive button (of my laptop).

Is there a program or a command in Linux that produces the same results as in Windows (…asks a newbie to Linux)?

“eject” should be installed by default.

Your desktop environment might offer the possibility also, in KDE (Plasma 5) e.g. you can just right-click on the inserted CD in dolphin’s Places or the file open dialog and choose “Eject xxx”.
K3b offers that option as well.

I think you misunderstood my question. I am not talking about eject = unmount, but have the dvd-drive pop out in order to take out the dvd from the dvd-drive.

For that, I sometimes type “eject” in a terminal. I always have a terminal open somewhere. But I seem to recall that the device notifier in KDE will eject when you unmount. I rarely use DVDs or CDs, so I might be mistaken.

No, you apparently misunderstood my answer.

“eject” (the command) is not about unmounting, it ejects the disc from the drive.
See “man eject”.

And the dolphin right-click “Eject” does the same, as the option in K3b.

I think you are confusing functionality. The eject command unmounts. If the device happens to have a release mechanism, it may also, as in KDE, operate the release mechanism. If you eject a USB, it unmounts it but does not physically release it as there is no mechanism for doing this.

[QUOTE=john_hudson;2740361]I think you are confusing functionality.
Who are you replying too?
Me?

The eject command unmounts.

???
“man eject”:

      eject  allows  removable  media (typically a CD-ROM, floppy disk, tape,
       JAZ, ZIP or USB disk) to be ejected under software control.

Or do you mean KDE’s “Eject”?
Yes, that unmounts.
But in the case of a DVD-Drive/Disc (which this thread is about), it physically ejects the disc.

If you eject a USB, it unmounts it but does not physically release it as there is no mechanism for doing this.

Obviously.
But this thread is about DVDs…

Thanks to all your contributions. I am using the KDE desktop and I now found out that I can physically ecject a dvd using the command in “Device notification”.

… and, as Wolfi pointed out a couple times, right click the icon in Dolphin and choose eject. Works, as he said, sheesh.:\

(either that, or I have been hallucinating it for a few years when removing my CDs or DVDs)