Please update to a newer version of eject, that supports the --toggle option. ** Changed in: eject (Ubuntu) Severity: Normal => Wishlist Status: Unconfirmed => Confirmed -- Apple media keyboard eject key only opens cd tray, doesn't close it https://launchpad.net/bugs/37785