Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I removed my main menu from the Applications menu and want to access it. How can I do this through the command line? I'm using Ubuntu 10.10.

share|improve this question
Few clarifications: Are you talking about the Applications menu? Do you want to add it back onto the Panel? (the bar on the top) – Stefano Palazzo Feb 1 '11 at 13:05
If you want to run the apps you find in the Applications menu from the command line, then this question is probably a duplicate of Is there a way to determine how to launch any program from the command line – Stefano Palazzo Feb 1 '11 at 13:06

There's a keyboard shortcut for accessing the main menu, there's no need to use the command line. Just press Alt+F1.

share|improve this answer
I suppose this do not work if the menu has been removed from the panel. – enzotib Feb 1 '11 at 13:13
It does — I always remove mine from the panel and start it this way. – goncalossilva Feb 1 '11 at 13:17
Yup it does work, i just tried. – binW Feb 1 '11 at 14:06

as @goncalossilva said if you remove Main Menu from panel you can still view it by pressing ALT+F1. Alternatively you can install gnome-main-menu package using:

sudo apt-get install gnome-main-menu

and then run it from command line or Alt+F2 using following command:


If you however want to add Main Menu back to panel just right click on the panel and select Add to panel... then in the window that appears select Menu Bar or Main Menu (which ever you like) and click Add button and then click Close and you are done.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.