Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to insert an item to System menu:

  • Help and Support
  • About Gnome
  • About Ubuntu

More specifically, I want to insert a new item under "About Ubuntu".

Trying with alacarte doesn't work. Cloning "ubuntu-about.desktop" file and changing his attributes doesn't work too (I even rebooted the computer after that). Searching for categories in "/usr/share/desktop-directories" haven't worked too, and searching for "core" and "about" entries in /etc/xdc/menus neither. It isn't as easy as I thought it would be.

Anyone have any suggestions?

share|improve this question
    
I managed to do this a LONG time ago, but I cannot remember how, all remember is something deep down inside some /etc or /usr/share folder –  RolandiXor Jan 11 '11 at 15:45
add comment

2 Answers 2

up vote 3 down vote accepted

You can add items to the first section of the System menu using Alacarte (System -> Preferences -> Main Menu).

The menu items below that are hard-coded in the gnome-panel source code, so other than editing the source code, there is no way to add more menu items to the second section of the System menu.

However, you can "replace" any of the three menu items by creating a .desktop file in ~/.local/share/applications with a specific filename.

  • Help and Support = yelp.desktop
  • About GNOME = gnome-about.desktop
  • About Ubuntu = ubuntu-about.desktop

For example, lets say that instead of an About Ubuntu item in the System menu you want an Ubuntu Tweak item, simply copy the ubuntu-tweak.desktop file to ~/.local/share/applications/, renaming it to ubuntu-about.desktop:

cp /usr/share/applications/ubuntu-tweak.desktop ~/.local/share/applications/ubuntu-about.desktop

alt text

If you want to have the About Ubuntu menu item again, simply delete ubuntu-about.desktop:

rm ~/.local/share/applications/ubuntu-about.desktop

alt text

share|improve this answer
    
Great workaround. I'll change gnome-about.desktop with the shortcut I want. Thanks! –  Leonardo Montenegro Jan 11 '11 at 20:31
2  
@LeonardoMontenegro If this answers your question, click the green checkmark and up arrow. meta.stackexchange.com/questions/5234/… –  Alvin Row Jan 11 '11 at 20:43
add comment

Have you tried navigating to System - Preferences - Main Menu - System - + New Item? I can add a new menu item this way in Ubuntu 8.04. However, the problem may be that it doesn't seem to be possible to access the About Ubuntu sub-menu this way.

share|improve this answer
    
Yeah, already tried it, and it doesn't worked. –  Leonardo Montenegro Jan 11 '11 at 17:23
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.