Bug#314922: [Pkg-xfce-devel] Bug#314922: xfdesktop4: update-menus overwrites $HOME/.config/xfce4/desktop/menu.xml

Simon Huggins 314922@bugs.debian.org, 314922@bugs.debian.org
Mon, 20 Jun 2005 08:44:59 +0100


--ahP6B03r4gLOj5uD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D"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

--=20
=2E.. After a number of decimal places, nobody gives a damn.

--ahP6B03r4gLOj5uD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCtnP7MQdl+99c4rQRAj6zAJ9OSAFpdW+TD4rNmZP6hBUyeg8TtgCdGMaw
F8thvjMrPSmhh6bdE4s1Ab8=
=lT2R
-----END PGP SIGNATURE-----

--ahP6B03r4gLOj5uD--