5

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
  • 91

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.
  • 90,397
  • @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! ;-) – 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
  • 2
    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