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

Vincent Pelletier Vincent Pelletier <vincent.plr@wanadoo.fr>, 314922@bugs.debian.org
Sun, 19 Jun 2005 14:25:16 +0200

Package: xfdesktop4
Version: 4.2.2-1
Severity: normal

/etc/menu-methods/xfdesktop, line 17 :
postrun="cp /etc/xdg/xfce4/desktop/system.menu.xml " prefix()

I think this line shouldn't be there, because it overwrites without
asking menu.xml, thus loosing any user modification, if any.

I don't know though what would happen when a users starts xfce4 without
that file...
Maybe this would fix the problem (tested) :
postrun="test -e " prefix() "/menu.xml || cp /etc/xdg/xfce4/desktop/system.menu.xml " prefix()

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-1-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages xfdesktop4 depends on:
ii  libatk1.0-0              1.10.1-2        The ATK accessibility toolkit
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libglib2.0-0             2.6.5-1         The GLib library of C routines
ii  libgtk2.0-0              2.6.8-1         The GTK+ graphical user interface 
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libstartup-notification0 0.8-1           library for program launch feedbac
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxfce4mcs-client-2     4.2.2-1         Client library for Xfce4 configure
ii  libxfce4util-1           4.2.2-1         Utility functions library for Xfce
ii  libxfcegui4-3            4.2.2-1         Basic GUI C functions for Xfce4
ii  libxml2                  2.6.16-7        GNOME XML library
ii  xfce4-mcs-manager        4.2.2-1         Settings manager for Xfce4
ii  xfce4-utils              4.2.2-1         Various tools for Xfce
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

xfdesktop4 recommends no packages.

-- no debconf information