[Pkg-xfce-devel] Bug#530684: Bug#530684: xfdesktop4: custom menu does not work

Yves-Alexis Perez corsac at debian.org
Wed May 27 06:08:52 UTC 2009

On mer, 2009-05-27 at 00:37 +0200, arne anka wrote:
> i tried to create a custom menu file according to
> > http://wiki.xfce.org/howto/customize-menu
> but the only entries showing up were those of xfce (ie thunar, run as
> .... and so forth), all other desktop files, being in
> /usr/share/applications/ or ~/.local/share/applications/ are ignored.
> i even created a desktop file with that exo-desktop-item-edit, but to no
> avail.
> simplest case is to add a single line
> <Filename>navit.desktop</Filename>
> and a 
> <Separator/>
> in the <Layout> section. the separator will be displayed, the entry for
> the navit.desktop will not. navit.desktop exists in both
> /usr/share/applications/ and ~/.local/share/applications/.
> sadly enough, xfdesktop4 does not care to give any kind of error
> message, neither when opening the menu nor in ~/.xsession-errors, so i
> am unable to determine, what exactly goes on.

If no errors are outputed, the file is valid. If not, you can see stuff

** (xfce4-menu-plugin:4054): CRITICAL **: Unable to create XfceMenu from
file '/home/corsac/.config/menus/xfce-applications.menu': Error on line
11 char 2: Document ended unexpectedly with elements still open - 'Menu'
was the last element opened

The menu plugin might be a good idea to use for tests, so you're sure
which menu you want it to open.

Don't forget to reload xfdesktop if you don't have file monitoring

Remember there are two parts:
- adding new entries to the menu
- changing the menu layout

Adding new entries is just a matter of adding new .desktop files
to .local/share/applications. Don't forget to correctly tune the
Category. If you want to add them to the top menu, the category is

I'm not that familiar with menu editing in 4.6 so you may want to
contact Xfce devs directly through the xfce at xfce.org list or the irc
chan (#xfce at freenode), or bugzilla if you clearly thinkg this is a bug.

Cheers and thanks for the report,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090527/cea4e1c4/attachment.pgp>

More information about the Pkg-xfce-devel mailing list