Quassel uses knotify instead of libnotify

Bug #1017005 reported by Johannes Löthberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quassel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Quassel uses knotify instead of libnotify, so I get really ugly notification popups, and there isn't any way to change to libnotify.
Sometimes it will show one or two notification messages with libnotify, only to then use knotify again.

Revision history for this message
Scott Kitterman (kitterman) wrote :

It's by design that it uses KNotify if it's available. Do you have a KDE session running? What release are you on?

Revision history for this message
Johannes Löthberg (demizey) wrote :

Okay, but you'd think that it uses libnotify if you remove knotify in that case. No, I don't even have KDE installed.
I'm on11.10

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 1017005] Re: Quassel uses knotify instead of libnotify

Either you're using the KDE enabled version, in which case you at least have kdelibs installed or you've got quassel-qt installed and it shouldn't know anything about KNotify. Try quassel-qt if you haven't.

Revision history for this message
Johannes Löthberg (demizey) wrote :

Uh yeah, I use the quassel package, which is the KDE version.
Tried QT, but it doesn't show any notifications at all, unless you have the tray icon on, in which case it shows a little bubble from the icon, like in windows.

Revision history for this message
Aurélien Gâteau (agateau) wrote :

First some context: a KDE notification can be a combination of a popup (the kind of notifications shown by notify-osd), a dialog box, a sound, a command to run and/or an entry in a file.

Here is the (convoluted) way notifications work for KDE apps (Quassel with kdelibs can be considered a KDE app in this context)

1. The KDE app uses kdelibs API to create a notification.

2. If knotify4 is not running, the kdelibs API starts it. Knotify4 is responsible for handling notifications from all KDE apps. Knotify4 handles almost all notification kinds internally, except for popups.

3. If the notification is a popup, knotify4 checks if there is a popup notification server running. On KDE this is either Plasma itself or Colibri, on Unity it is notify-osd, on Gnome it is notification-daemon.

4a. If knotify4 finds a popup notification server, it sends the notification to it, so you get libnotify-style notifications (libnotify talks directly to the popup notification server)

4b. If knotify4 cannot find a popup notification server, it shows the notification itself, in a gray box with thick black borders

I assume you fall into 4b, which can happen if the popup notification server is not running. At startup, knotify4 tries to start a popup notification server if there is none, but it won't check again after that.

What you can do is: next time you get a knotify box, check if there is a notify-osd process running. If there is none, try to start one from the terminal (the path to the binary is: /usr/lib/notify-osd/notify-osd ) and see if it dies. If it dies, report a bug against notify-osd.

Revision history for this message
Johannes Löthberg (demizey) wrote :

Oh yes, it works now, thanks and sorry for bothering you.
It seems as if notification-daemon has a bad habit of crashing for me.

Changed in quassel (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.