1

I am connected to my headless (and keyboard less) Mac, which has a cd / dvd drive, via Remote Desktop.

If there is no disk in the drive, it doesn’t show up in Finder. How can I open the CD/DVD TRAY from a MacBook Pro without eject key?

When I connect a usb keyboard directly, I can eject via the eject key.

2
  • If there is no disc in the CD/DVD drive then it will not appear under Devices in the Sidebar of Finder! – user3439894 Apr 20 '20 at 15:50
  • @user3439894 Makes sense. But is there a way of opening the tray, apart from the keyboard (eject key) or the command line? – Rainer Apr 20 '20 at 16:30
3

You can do it from the Terminal by entering the following command:

drutil tray eject
2
  • This works - but isn't there a keyboard shortcut via remote-desktop I could use? – Rainer Apr 20 '20 at 15:22
  • You need to create a service then add your desired keyboard shortcut. – David Anderson Apr 20 '20 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .