Customizing menus in 2.10Beta

Joe Marcus Clarke marcus at marcuscom.com
Fri Mar 18 11:36:19 PST 2005


On Fri, 2005-03-18 at 10:56 -0800, Kevin Oberman wrote:
> > Date: Sun, 13 Mar 2005 06:34:29 +0100 (CET)
> > From: Peter Ulrich Kruppa <root at pukruppa.net>
> > Sender: owner-freebsd-gnome at freebsd.org
> > 
> > On Sun, 13 Mar 2005, Peter Ulrich Kruppa wrote:
> > 
> > > Now I would also like to create a new menu directory (called "Math") for 
> > > xmaxima. Could you give me a hint, how to do this?
> > Found that one out myself:
> > There exists a file called /usr/X11R6/etc/menus/applications.menu
> > Where one can place an entry like this:
> > 
> >  	--------------------------------------------
> >    <!-- Math -->
> >    <Menu>
> >      <Name>Math</Name>
> >      <Directory>Math.directory</Directory>
> >      <Include>
> >        <And>
> >          <Not>
> >            <Or>
> >              <Category>Qt</Category>
> >              <Category>KDE</Category>
> >            </Or>
> >          </Not>
> >          <Category>Math</Category>
> >        </And>
> >      </Include>
> >    </Menu>
> > 
> >  	---------------------------------------
> > Specs for all this can be found on
> > http://standards.freedesktop.org/menu-spec/latest/
> 
> Uli,
> 
> I have been reading the docs and I will admit that I am probably
> confused.
> 
> First, my applications.menu file is /usr/X11R6/etc/xdg/menus/. Are you
> sure of the location on your system?
> 
> The desktop files are the easy part. It's the menu stuff that has me lost.
> 
> I would really like to add a new menu (on the panel) for "Remote
> Access", but I have at least been able to get it into the "Applications"
> menu. Something creates the "places " and "Desktop" menus, but I have
> been unable to find it. Are they hard-coded?
> 
> Any references beyond the freedesktop menu spec?

Why not just add a Drawer through the GUI?  That's what I do for my
remote access icons.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050318/cf062936/attachment.bin


More information about the freebsd-gnome mailing list