Contents
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.
An seemingly old tool named gmenu-simple-editor in gnome-menus is normally not used. (As of 2005-10; Daniel Cardenas said : The debian menu system may wipe out Gnome specific menu settings when a new application (aka package) is installed.)
alacarte is normally used to edit GNOME menu. It can edit first level category and depends on gnome-menus to use its menu data.
Menus defined in Debian Policy are handled by a package menu and can be activated under GNOME if menu-xdg is installed.
The following two links will probably be helpful:
GNOME: ?http://library.gnome.org/users/user-guide/stable/menubar
freedesktop.prg: Desktop Menu Specification.
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.
- sudo apt-get install menu menu-xdg
- update-menus
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
Although I wrote "??x??" in above script, actual command should have actual size like "22x22" in there.
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
Since this could get complicated, I made small package just to do this: http://people.debian.org/~osamu/debian/pool/main/debian-icon-theme_0.1_all.deb . Fetch it and do "dpkg -i debian-icon-theme_0.1_all.deb".