Customizing menus in 2.10Beta
Peter Ulrich Kruppa
root at pukruppa.net
Sat Mar 12 21:34:14 PST 2005
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 *
*********************************************
More information about the freebsd-gnome
mailing list