On Mon, 11 Jul 2011 21:35:50 -0700 <[email protected]> wrote: > I'm assuming that this is done through update-menus ? > > update-menus seems to be happy with the file I put in /etc/menu > > However it doesn't show up in the menu. More interestingly there doesn't > seem to be a > menu-method for lxpanel. > > does lxpanel use a separate mechanism for menus ?
yes it does, do the following: Not well documented - took me quite a while to get it all figured out. in ~/.config/menus/applications-merged put a .menu file like this firefox.menu <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> <Menu> <Name>Applications</Name> <Menu> <Name>Firefox</Name> <Directory>Local.directory</Directory> <Include> <Filename>Firefox.desktop</Filename> </Include> </Menu> </Menu> in .local/share/applications make a directory "Local" (notice Local.directory above) and in it place a .desktop file (watch the case of the filename !): Firefox.desktop [Desktop Entry] Name=Firefox Exec=/usr/local/src/firefox/firefox Type=Application StartupNotify=true Comment=Firefox V 5 Path=/usr/local/src/firefox/firefox Icon=/usr/share/pixmaps/firefox.png The new menu entry should show up in the lxpanel menu "Other". What I'd really like to be able to do is create my own sub-menus, but I haven't figured that out quite yet. Brian -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

