how to get the Debian menu back?

Yves-Alexis Perez corsac at debian.org
Sun Oct 18 10:17:24 CEST 2009


On dim, 2009-10-18 at 12:13 +0800, cathayan wrote:
> I learnd that I should edit the xfce-applications.menu, but I don't
> know how to include a
> menu file. I copied some lines from the file of
> gnome-applications.menu like this:
> 
>   <!-- The Debian menu -->
>   <Menu>
>     <Name>Debian</Name>
>     <MergeFile>debian-menu.menu</MergeFile>
>     <Directory>Debian.directory</Directory>
>   </Menu>

libxfce4menu 4.6 doesn't support the Merge attribute, sot that won't
work.

> 
> But it totally not work. Maybe there need some layout lines?
> 
> For the system menu on xfce panel, it is still using menu.xml, and it
> still use the
> menudefs.hook file but can not show the Debian menu, too:
> 
> <menu name="Debian">
>                 <include type="file" src="menudefs.hook"/>
> </menu>

Afaik it uses the exact same menu as xfdesktop.
> 
> How to get the debian menu back? both desktop menu and panel menu?

Follow the instructions on the http://wiki.xfce.org/howto/customize-menu
webpage. First create at Debian submenu, then create items.

The thing is, the Debian menu is not created from desktop files but from
debian .menu files, so you would have to find a way to generate .desktop
files from menu files.

Another solution is to add a new menu in the panel and to point it to
the Debian mennu file (/var/lib/menu-xdg/menus/debian-menu.menu).

That should work.

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20091018/b6533b0f/attachment.pgp>


More information about the Xfce mailing list