PLEASE NOTE: This article is for earlier versions of Ubuntu running on Gnome 2.x, so you will not be able to add this to the panel in Unity (the default desktop environment) or Gnome Shell, both of which are based on Gnome 3. You can, however, make desktop launchers, or find other ways to execute the eject command. If using Gnome “Classic” or KDE, you can still add eject and close buttons to your panel.
Here’s a little tip many newbies might not know: there is a Linux command eject which opens your disc tray, and you can make a button for it on your panel. It is included in Ubuntu by default, so all you need to do is make a launcher for it (with eject as the Command) and add it to your panel.
You can also find out how to add a CLOSE button.
Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!