GNOME menus

How to edit GNOME menus ?

GNOME presents you with its own menu by the package gnome-menus.

Standard Debian menu provided by menu is hidden by default.

You can edit Gnome menu by: "System" -> "Preferences" -> "Main menu". This will launch GUI menu edit program provided by alacarte.

The following two links will probably be helpful:

How to use menu-xdg to include Debian menu items

If you install menu-xdg and then run update-menus as yourself, .desktop files will be created in $HOME/.local/share/applications/menu-xdg and show up under Other of the Applications menu.

Running update-menus as root puts it in /var/lib/menu-xdg/applications/menu-xdg but this location is ignored by Debian's Gnome-shell so don't do that.

How to change start-here.png icon files for lenny ?

You can not change main menu icon from Gnome foot to Debian easily using Configuration Editor under lenny. (For squeeze, you can use update-alternatives(8).)

Simplest method is to create a new theme by copying gnome and replacing Gnome foot by Debian swirl (created from /usr/share/pixmaps/debian-swirl-logo.svg with Gimp).

But I now use a hack by replacing gnome theme files in /usr/share/icons/gnome/*/places/start-here.png using dpkg-divert command. Something like:

$ dpkg-divert --divert /usr/share/icons/gnome/??x??/places/start-here.old.png --rename /usr/share/icons/gnome/??x??/places/start-here.png

To remove that diversion later, I need to do something like:

$ dpkg-divert --rename --remove /usr/share/icons/gnome/??x??/places/start-here.png

To update menu:

$ ps aux|grep gnome-pane[l]
osamu    26772  1.4  0.7 374728 22764 ?        S    23:38   0:00 gnome-panel --sm-client-id ...
$ kill -TERM 26772