xfdesktop menu file location problem
info at sten-net.de
info at sten-net.de
Fri Mar 30 12:39:57 CEST 2007
Hey,
On Fri, 30 Mar 2007 11:55:14 +0200, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> Hi,
>
> I just tested the new xfdesktop menu stuff. But my first test was a bit
> disappointing because after compiling and installing the current SVN
> version the whole menu disappears(the right click menu on the desktop
> as well as the panel-plugin menu).
> I got the message: Could not locate a menu definition file. So I
> started to have a look at the code and what is going on on my system.
>
> xfdesktop (or libxfce4menu, not sure) installs the file
> xfce-applications.menu in etc/xdg/menus. Probably this works on most
> systems, but not on mine.
> I have my complete Xfce installed in /home/enrico/apps/xfce-svn/, so
> the menu file is located in /home/enrico/apps/xfce-svn/etc/xdg/menus.
> But xfdesktop didn't find it there. After copying the file into
> ~/.config/menus the panel-plugin menus appears and looks fine.
> So, did I anything wrong while compiling and installing(I do it the
> same way like before since about a year). Or may it be a bug in the
> menu file location code of xfdesktop?
You need to export XDG_CONFIG_DIRS or XDG_CONFIG_HOME like
export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/home/enrico/apps/xfce-svn/etc/xdg
or
export XDG_CONFIG_HOME=$XDG_CONFIG_HOME:/home/enrico/apps/xfce-svn/etc/xdg
I don't remember how xfdesktop does it, but in theory this should work.
- Jannis
More information about the Xfce4-dev
mailing list