I posted about this topic a little while ago, while using Ubuntu 8.04. After my installation of the 64 bit version of Ubuntu 10.04 Lucid Lynx, my keyboard shortcut didn’t function the way I wanted it to. It would unmount any USB flash drive I had plugged in. This wouldn’t do, so here’s how I got it to work again.
- Go to System > Preferences > Keyboard Shortcuts
- Click on Add at the bottom of the box. The Custom Shortcut box will open up.
- Enter whatever you’d like for the Name.
- Enter
eject -Tfor the Command & click Apply. - Click Apply, and close the Keyboard Shortcuts box.
- You’ll now see your new shortcut at the bottom of the list, in the Custom Shortcuts section.
- To the right is where you enter the keystroke you want to be the shortcut for this command. It is currently Disabled.
- Click on the Disabled, and then hit whatever key combination you want. I used the F12 key.
- That’s it, now every time I hit the F12 key my CD drawer will open or close.


worked like a charm thanks!!!