Manually edit desktop menu: submenus?

Brian J. Tarricone bjt23 at cornell.edu
Tue Nov 15 11:58:52 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/15/2005 2:42 AM, Niki Kovacs wrote:
> Le Mardi 15 Novembre 2005 11:21, Nick Schermer a écrit :
> 
>>In the menu editor can can add a sub menu (internet), and put some programs
>>in it (firefox...).
>>
>>Q: is there a way to do this manually?
>>
>>
>>http://www.loculus.nl/xfce/documentation/docs-4.2/xfdesktop.html#xfdesktop-
>>menu
> 
> 
> I already RTFMed, and know this doc. However, I found the answer to my 
> question by fiddling around. To create a hierarchical menu with separate 
> entries, I have to create a separate .xml file to include in the main 
> menu.xml file. 

No you don't.  You can do what you want with a single menu file.  The
menueditor should work for this; otherwise it's a bug in the menu
editor.  Your XML file structure would look something like this:

<?xml version="1.0" ?>
<xfdestkop-menu>
    <menu name="Internet">
        <app name="foo" ... />
        <app name="bar" ... />
    </menu>
    <menu name="System">
        <app name="baz" ... />
    </menu>
</xfdesktop-menu>

Or something to that effect.

	-b

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDeb9s6XyW6VEeAnsRAiVKAJ91s5+u0wpiht3IMLIXTZedGECpzACg1MS0
rGiS2kOeOEzlkSZGMggs6dc=
=tK/J
-----END PGP SIGNATURE-----



More information about the Xfce mailing list