4

Laptop has a button on the keyboard to eject CD-ROM like on Mac. It works fine on 12.04, but no longer on newer versions. Laptops has sold with the Windows.

The distribution of Ubuntu 12.04 has been taken from the official site ubuntu.com. Is it possible to fix the button in the new version of Ubuntu? The command 'eject' working in the terminal on all versions.

2 Answers2

1

just create a custom keyboard shortcut

Go to System Settings -> Keyboard -> Shortcuts and add a custom keyboard shortcut running the command 'eject'. Then assign that shortcut to the key on your laptop.

If somehow you have multiple ejectable drives, you'll have to specify in the command like 'eject /dev/cdromX'. If you've only one drive, just 'eject' should work.

Mark Kirby
  • 18,949
  • 19
  • 79
  • 116
kaushik
  • 41
  • 12
0

The this problem has disappeared samself after the upgrade to Ubuntu 16.04 and in Ubuntu 18.04 the "Eject" button also works correctly.