gnome-session is mistakenly adding 10-user-dirs-update to /etc/X11/xinit/xinitrc.d/ causing xdg-user-dirs-update to be executed twice on Xfce startup: - once by upstream Xfce, startxfce4 script - once by accident, from xinitrc.d, if gnome-session *happens* to be installed Obviously this is not the package that should install the file if executed unconditionally even if not running GNOME, it should be guarded by some check for GNOME, or the file shouldn't be installed by gnome-session at all... (Please don't repeat the GDM mistake by adding random files there, yet to file a bug about that...)
I can move this to xdg-users-dirs packages as all other major distributions are doing already (like fedora, opensuse, mandriva...), are you ok?
This needs to be done with xfce team also I think ;)
Umm, sorry for the misunderstanding, looks like upstream xfce already runs it at their own, in that case I think we should modify a bit xinitrc.d file to only run when [ "$DESKTOP_SESSION" = "gnome" ] (like it's done in 10-xdg-menu-gnome)
(In reply to comment #3) > Umm, sorry for the misunderstanding, looks like upstream xfce already runs it > at their own, in that case I think we should modify a bit xinitrc.d file to > only run when [ "$DESKTOP_SESSION" = "gnome" ] (like it's done in > 10-xdg-menu-gnome) yeah, since xdg-user-dirs doesn't provide autostart file, Xfce upstream decided to run it on their own. I think this is correct approach and I don't want to alter that against upstream in Xfce packages. Please change the name to something like 10-user-dirs-update-gnome and guard it with that [ "$DESKTOP_SESSION" = "gnome" ]
+ 12 Sep 2011; Pacho Ramos <pacho@gentoo.org> +files/10-user-dirs-update-gnome, + -files/10-user-dirs-update, gnome-session-2.32.1-r3.ebuild, + gnome-session-3.0.2.ebuild: + Only run xdg-user-dirs-update under Gnome to prevent conflicts with XFCE, bug + #382685 by Samuli Suominen. + I finally didn't revbumped for this change as 3.0.2 is hardmasked and 2.32.1-r3 was released only a few minutes ago... but, if you want to be stricter, let me know and will revbump if have enough time :) Thanks for noticing the problem