Howto have a menu which shows all installed applications on your system
Explanation
As any new user to ubuntu will notice, not every package they install on their system through the Package Manager will show up in the Applications menu.
Gnome and KDE use a recent standard, developed inside the freedesktop.org's project, for a common menu format, which means that application developers only have to add a few lines of text to their application, and it will be automatically shown in both desktops. XFCE also uses this standard.
The bad news is, that this standard is so recent, most of the applications available in the Ubuntu repositories still aren't packaged with this information.
The good news is that Debian has had their own menu system up and running for years, with every package in their repositories adding themselves to the Debian menu.
The excelent news is that you can install this Debian menu in Ubuntu and make use of it!
Installation
- Launch the Package Manager (Synaptic)
- Go to Settings->Repositories
- Activate the Universe repository
- Search for and install the packages named "menu" and "menu-xdg"
- Run in the Console:
Look in your Applications menu, and you will have a new menu called Debian with all the applications you installed using synaptic, apt-get or individual .deb packages. Aditional applications you install using these methods will be placed there, as the update-menu is automatically run when a package is found to be using the debian menu.Code:sudo update-menus
You can also place the Debian menu on the panel (thanks to atilasendil for the hint):
Right click on the panel, and choose "Launcher from menu", click next and add Debian.
For Kubuntu, the instructions are the same, and the Debian menu will be placed in the "K" menu.
Other desktop environments should (or could?) use Debian menu, but if they don't, there's still use of it.
- Install pdmenu either from Synaptic, or running in a terminal:
Code:sudo apt-get install pdmenu- From a console, run
which will give the Debian menu in ncurses.Code:pdmenu
More information
After you've installed "menu", you'll have full documentation of it in your system in this directory:
/usr/share/doc/menu/
The manual is in:
/usr/share/doc/menu/html/
Troubleshooting
For some people, the Debian menu may not appear immediately in Gnome, nor in the pdmenu application. This happened to me also, when I reinstalled ubuntu hoary. But it can be solved:
- Log out of Gnome
- Do Ctrl+alt+F1 and login with your username
- Do:
Code:sudo update-menus- Run
, if you've installed it(see above), and make sure the debian menu is workingCode:pdmenu- Get back to Gnome
- Get and install "smeg", the menu editor, from http://www.realistanew.com/projects/smeg/
- Open smeg, and make the Debian menu visible
Kubuntu specific troubleshooting, added by Firetech:
If you, like me, accidentally have deleted the debian menu earlier (because it was empty, and thus not showing anyway in the K-menu) follow these steps to get it back (AFTER following jobezone's guide!):
- Open a Konsole window (or any other terminal you prefer).
- Type
and press Enter.Code:nano ~/.config/menus/applications-kmenuedit.menu- Press Ctrl+W and type "Debian" (without quotes) and then press Enter.
- If you get to the following text, delete it:
If you don't get to exactly that text, try again by pressing Ctrl+W and then Enter. (You don't need to type "Debian" again.)Code:<Menu> <Name>Debian</Name> <Deleted/> </Menu>- After deleting the above text (you can delete entire lines with Ctrl+K) press Ctrl+O and then Enter to save the file. (If you've made something wrong, E.G. deleting too much or something like that, press Ctrl+X and start over from step 2)
- Press Ctrl+X to exit nano.
- Type
in the console and press Enter.Code:kmenuedit- Just press the save button in the menu editor (I know the debian menu isn't showing.), and then exit that program.
- Open your K-menu, and there should be a Debian menu at the top.
This IS working, I've tried it twice. (I actually deleted it once more to get more precise in this guide...)
(If it doesn't show even if you haven't deleted the menu, you can try it. You'll probably get stuck on step 4 in that case...)
Bookmarks