Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

4 Answers 4

up vote 2 down vote accepted
+50

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
sudo apt-get --reinstall install notify-osd
share|improve this answer
    
You don't have to reinstall the two packages separately, but can do so with a single command: sudo apt-get --reinstall install libnotify-bin notify-osd –  Eliah Kagan Jul 5 '12 at 12:39
2  
Under Debian Wheezy I need also start notification daemon like /usr/lib/notify-osd/notify-osd –  gavenkoa Aug 8 '12 at 19:45
    
I also discover notification-daemon under Debian which have nicer look. –  gavenkoa Aug 8 '12 at 19:50

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

share|improve this answer
    
It's been installed. –  Paul Nathan Jul 13 '11 at 20:58
    
@Paul: then it should work... I am sure that's the required package to be able to use notify-send, unless something is wrong with libnotify on your system. –  Alin Andrei Jul 14 '11 at 20:56

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.

share|improve this answer
    
Strange. Had the same problem with a terminal running full screen trying this. Making it a window magically fixes it. –  Jaxrtech Apr 10 at 23:19

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)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.