[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#640082: Please start xfce4-notifyd via the session manager

Package: xfce4-notifyd
Version: 0.2.2-1
Severity: normal


there have been some recent changes in notification-daemon and the way
it is started. It previously was started via dbus activation on-demand.
This had the unpleasant side effect, that shipping different
notification systems either had to conflict with each other or divert
the dbus service file (or ship it under a different dbus service file
name where it no longer was clear which service would be started then).

In GNOME 3, the notification system is integrated into gnome-shell itself,
which is komparable with how kdebase-workspace does it.

As a consequence, the dbus service file was removed from
notification-daemon, as this could otherwise lead to a race when
gnome-shell is started [1]. In the GNOME 3 fallback or GNOME 2 case, we
start notification-daemon via the session manager now.

For GNOME 2, we ship a autostart file in gnome-session 2 in
/usr/share/gnome/autostart. gnome-session 3 will start
notification-daemon in the fallback case and we also ship a XDG
autostart file, which should handle non-GNOME environments.

It currently lists:
AutostartCondition=GNOME3 unless-session gnome

I.e. XFCE is explicitly excluded, as I assumed that for XFCE the
preferred notification system is xfce4-notifyd.

We have been discussing that on IRC for a while, and we came to the
conclusion, that it should be up to the individual desktop environment
to depend on its notification system of choice.
The notification daemons should no longer be started via dbus activation
and instead by the session manager, so we have a defined and reliabe

If you can agree with that, please update xfce4-notifyd accordingly and
make the xfce4 metapackage depend/recommend xfce4-notifyd.

I also think, that individual applications should not directly depend on
notification-daemon directly. But this should be discussed / fixed
independently from this bug.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-notifyd depends on:
ii  libc6               2.13-18   
ii  libcairo2           1.10.2-6.1
ii  libdbus-1-3         1.4.14-1  
ii  libdbus-glib-1-2    0.94-4    
ii  libgdk-pixbuf2.0-0  2.23.5-3  
ii  libglib2.0-0        2.28.6-1  
ii  libgtk2.0-0         2.24.5-4  
ii  libpango1.0-0       1.28.4-3  
ii  libx11-6            2:1.4.4-1 
ii  libxfce4ui-1-0      4.8.0-3   
ii  libxfce4util4       4.8.1-3   
ii  libxfconf-0-2       4.8.0-3   

Versions of packages xfce4-notifyd recommends:
ii  libnotify-bin  0.7.3-2

xfce4-notifyd suggests no packages.

Reply to: