24

I am trying to use notify-send, but it doesn't display.

I am reasonably sure I have the correct packages installed, but I am not expert in configuring the notification settings.

I know I have some sort of notification package working - I get notifications from Pidgin (sporadically).

What is the correct configuration for notify-send to operate correctly?

  • I have libnotify-bin installed

  • I have the notification-daemon installed

muru
  • 207,228

6 Answers6

22

There are no special configuration files as far as I know so I would try and reinstall the package

sudo apt-get --reinstall install libnotify-bin notify-osd
Anwar
  • 77,855
arrange
  • 15,219
5

In my case, the notification was not displayed because I had netbeans in full screen mode in the background.

For some weird reason, the message was getting hidden.

Simon
  • 4,843
3

In my case, it only works with a zero time limit (-t 0) or with critical urgency (-u critical).

notify-send -t 0 "Nagging you."
notify-send -u critical "It's critical"
fuujuhi
  • 282
  • 1
  • 9
3

In my case is because of I accidentally disable Notification Banners settings.

enter image description here

Note that this answer might not relevant to OP case which claims that Pidgin is working. But it should help someone based on the question title.

林果皞
  • 596
1

You need to install libnotify-bin to be able to use the "notify-send" command.

Jorge Castro
  • 73,717
Alin Andrei
  • 7,358
0

little hint:

From: [https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/300463]

As described in http://forum.lxde.org/viewtopic.php?f=8&t=114&p=287 the update-notifier daemon is not run automatically on other desktops who support it, so I don't get automatic updates as specified in the configuration unless I manually run the update-manager (which works alright).

In:

   /etc/xdg/autostart/update-notifier.desktop

There is a line inside this file read like this:

   OnlyShowIn=GNOME;XFCE;

This line should be changed to: NotShowIn=KDE; Or other unsupported desktops.

I'm using Xubuntu 8.10 and the LXDE desktop environment (that's how I found out)