how to get the Debian menu back?

cathayan cathayan at gmail.com
Sun Oct 18 10:34:41 CEST 2009


On Sun, Oct 18, 2009 at 4:17 PM, Yves-Alexis Perez <corsac at debian.org> wrote:
> 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

Thanks. The last way is an acceptable solution, except no submenu icons show up.

-- 
cathayan at gmail.com
http://blog.cathayan.org



More information about the Xfce mailing list