[Pkg-xfce-devel] Bug#558308: closing 558308

Lionel Le Folgoc mrpouit at gmail.com
Thu Mar 31 08:10:57 UTC 2011


Hi,

On Wed, Mar 30, 2011 at 11:03 PM, Sandro Tosi <morph at debian.org> wrote:
> Thanks for answering!
>
> On Wed, Mar 30, 2011 at 22:24, Lionel Le Folgoc <mrpouit at gmail.com> wrote:
>> In Xfce 4.8, there's a new library called garcon that is responsible for
>> building the menu. It should be (fully) xdg compliant, and it supports menu
>> merging. However, there's no debian menu ready to be merged (shipped in
>> /etc/xdg/menus/applications-merged), so you will probably need to build one
>> yourself.
>
> How am I gonna do it? will XFCE ship (or provide somewere (wiki?)) a
> doc about create a "custom" debian menu? shouldn't it be available by
> default on a... debian system? :)
>
> Cheers,
> --
> Sandro Tosi (aka morph, morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
>

Well, garcon complies with the xdg menu spec, so following
<http://standards.freedesktop.org/menu-spec/menu-spec-latest.html> is
possible, or using any menu editor.

The easiest solution would be for the menu-xdg package to provide, in
addition of its current /etc/xdg/menus/debian-menu.menu, a menu file in
/etc/xdg/menus/applications-merged/, which would create a Debian
submenu/category. This would allow people who only want the debian menu
to choose debian-menu.menu as their main menu file, and people who want
a desktop environment menu with the debian menu in it to automatically
have it merged, thanks to the applications-merged directory.

If you have menu-xdg already installed, you can simulate that by editing
your default menu file (e.g. copy /etc/xdg/menus/xfce-applications.menu
to ~/.config/menus/), and adding to it:
    <Menu>
        <Name>Debian</Name>
        <MergeFile>/etc/xdg/menus/debian-menu.menu</MergeFile>
    </Menu>

And then all the debian menu will appear in a dedicated category. But I
don't really think this should be enabled/shipped by default, because the
debian menu and the xdg one are totally redundant.

Cheers,
-- 
Lionel





More information about the Pkg-xfce-devel mailing list