Dear Maintainer, Installing a Debian trixie system with the task-lxde-desktop: notifications are not working. For example: @debian:~$ carles@debian:~$ notify-send "test" GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files carles@debian:~$ Expected notifications from Firefox or other software (battery level, Bluetooth connections, etc.) does not appear. I realise that task-lxde-desktop depends on lxde, which depends on lxde-core and recommends notification-daemon. It was installed but by default is not registering itself as a D-Bus service for notifications: #1151954 But even worse I think, notification-daemon is not maintained upstream anymore: #1092972 The author of notification-daemon seems to mention that it's quite Gnome-centric: #814949 I think that I would change the Recommends from the current: Recommends: polkitd, lxterminal | x-terminal-emulator, notification-daemon, light-locker to: Recommends: polkitd, lxterminal | x-terminal-emulator, dunst | notification-daemon, light-locker I added "notification-daemon" as an alternative thinking that it might disappear but quite many packages provide it currently. Thank you, PS: I will update https://wiki.debian.org/LXDE soon to add a note on testing and having notifications
Hi, In a comment in a related bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151954#10 There is information on how to fix this. Adding "dunst" as a Recommends, as I suggested, it would generally speaking work but Simon, in that reply, mentions other solutions. I copy-paste the most relevant part from Simon:----------- If LXDE wants to use notification-daemon (or dunst or any other specific implementation) as its implementation of org.freedesktop.Notifications, then it should start the service during login, either via an autostart .desktop file or by running it directly. This is the sort of interface that desktop environments in the 2020s are expected to provide. The major desktop environments do have an integrated Notifications implementation, either built-in to the desktop shell (like GNOME Shell), or starting a separate implementation via an autostart .desktop file (like LXQt's lxqt-notificationd), or starting a separate implementation in some other way (for example, in the past, GNOME Flashback started notification-daemon as a gnome-session service). ----------- There is more context in the message, though.