On Mon, Jun 20, 2005 at 08:10:01AM +0200, Vincent Pelletier wrote:
> Simon Huggins wrote:
> > You can run update-menus as the user and it will overwrite your user
> > menu.  This is sensible.  Why would you run it if you didn't want it
> > updated?
> I have 2 files in $HOME/.config/xfce4/desktop/ : menu.xml :
> The root-level of the menu, including title, help, config,...
> menudefs.hook :
> The application launchers, included in menu.xml.

> I think only the second should be updated (and actualy is by update-menus).

> With the change I suggested, menudefs.hook is still updated (cf. line
> 11 : genmenu="menudefs.hook")

I understand what you're saying but xfdesktop isn't that well behaved.

If you have a menu.xml in /etc/... then it uses that and takes
menudefs.hook from the same directory.

If you have a menu.xml in .config/... then it uses that and takes
menudefs.hook from that directory.

Therefore if you don't copy menu.xml then running update-menus as a user
has absolutely no effect as it updates the local menudefs.hook but there
is no menu.xml that uses it there.

If you want to make changes to the menu.xml before it gets processed
then you should use the system.menu.xml

Simon

-- 
... After a number of decimal places, nobody gives a damn.

Attachment: signature.asc
Description: Digital signature

Reply via email to