Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Mar 2005 06:34:29 +0100 (CET)
From:      Peter Ulrich Kruppa <root@pukruppa.net>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Customizing menus in 2.10Beta
Message-ID:  <20050313062620.K27277@pukruppa.net>
In-Reply-To: <20050312092411.A7608@pukruppa.net>
References:  <20050311045954.G72046@pukruppa.net> <opsnggx1oy9aq2h7@mezz.mezzweb.com> <20050312092411.A7608@pukruppa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/

Regards,

Uli.



*********************************************
* Peter Ulrich Kruppa - Wuppertal - Germany * 
*********************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050313062620.K27277>