4

I'm currently on 15.04 (Vivid Vervet) and I can't seem to get any notifications to show unless they're sent with the urgency set to critical, like so:

notify-send -u critical "IRC" "This is a critical IRC notification

unlike this, which doesn't work:

notify-send -u normal "IRC" "This is a normal IRC notification"

I'm using this as a test to troubleshoot irssi-libnotify, which is sending the notifications to the server correctly, but they aren't being shown because they're normal-urgency. I would rather not modify the python script as a work around, since this might be an issue for future packages.

almk
  • 81
  • 1
  • 8
  • Have you forgot to add a double quote at the and of your command? – A.B. Jul 21 '15 at 06:11
  • Hrm, having same issue that it only works with critical. I also seem to be getting delayed messages from a while ago. I have a feeling there might be a queue stacked up. – Elijah Lynn Jan 08 '16 at 04:53

1 Answers1

3

The correct syntax is

notify-send [OPTIONS] <summary> [body]

Eg:

notify-send -u normal "Hello World" "Have a nice day"

Have a look at man notify-send

If you want to use an other library (in your case irssi-libnotify) and there is a bug, create an issue on GitHub.


Example

notify-send -u critical "IRC" "This is a critical IRC notification"

enter image description here

A.B.
  • 89,123
  • 21
  • 245
  • 323
  • @Eunkai: As you're a reputation 6 user: If this answer helped you, don't forget to click the grey **☑** at the left of this text, which means [Yes, this answer is valid](http://askubuntu.com/help/accepted-answer)! **;-)** – Fabby Jul 20 '15 at 23:16
  • 2
    I don't think this a bug with the library, but might have something to do with the OS. On both irssi-libnotify and notify-send, the notification doesn't show unless it's sent with `-u critical`. The command suggested by A.B. doesn't work, but the same command with `normal` replaced with `critical`, displays fine. – almk Jul 21 '15 at 03:52
  • 1
    The issue is that I want normal-urgency notifications, because critical notifications stick on-screen for thirty seconds and aren't dismiss-able, which is rather annoying. – almk Jul 21 '15 at 03:53