Questions tagged [libnotify]

libnotify is a desktop independent library, which provides support for GTK+ and Qt applications, that sends desktop notifications to a notification daemon. These notifications can be used to inform the user about an event or display some form of information without getting in the user's way.

In order to use libnotify, notification server needs to be installed.

Resources:

46 questions
13
votes
3 answers

what's the cygwin/Windows equivalent of Linux' notify-send

Linux has the command notify-send for sending user notifications to the desktop manager. (In many environments, these show up as pop-ups in the corner of the screen, along with low battery warnings and other system messages.) I use it in monitoring…
Michael Scheper
  • 6,514
  • 7
  • 63
  • 76
10
votes
2 answers

Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835

I found the following message repeating repeating many many times (~5 times/minute) in the system.log on my macos x: Apr 5 12:23:52 macbook-air Google Chrome Helper[8216]: Libnotify: notify_register_coalesced_registration failed with code 9 on…
Ouss
  • 2,912
  • 2
  • 25
  • 45
7
votes
2 answers

libnotify error GLib.Error: The name org.freedesktop.Notifications was not provided by any .service files

I am getting this error. Any idea what is wrong? from gi.repository import Notify Notify.init("App Name") Notify.Notification.new("Hi").show() GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name…
peter
  • 4,289
  • 12
  • 44
  • 67
6
votes
2 answers

Stack multiple libnotify popups

Does anybody know how i can get multiple popups sent via notify-send to appear on screen at once. With: $ notify-send 'Message One' 'Body One' & notify-send 'Message Two' 'Body Two' & notify-send 'Message Three' 'Body Three' Each one waits for the…
Question Mark
  • 3,557
  • 1
  • 25
  • 30
5
votes
3 answers

What icons are available to use when displaying a notification with libnotify?

I'm using the libnotify library to display a notification in Ubuntu. I would ideally like to display a battery of some sort (since my app is a battery meter). The types of icons I can use are: a URI specifying the icon file name (e.g.…
Kredns
  • 36,461
  • 52
  • 152
  • 203
5
votes
3 answers

Ruby and Ubuntu's Notify-OSD

I'm using ruby-libnotify in a Ruby GTK app, and it works great to create a bubble popup in Ubuntu. I'm on Hardy, and it all works great. Then I had others try the app on Jaunty, and instead of a bubble popup with the new Notify-OSD system, as I…
Mike Stone
  • 44,224
  • 30
  • 113
  • 140
4
votes
1 answer

No notification when guard-rspec is used with spork

I am working on ubuntu machine with Ruby-1.9.2 and rails-3.1.3. I am using guard-rspec for autotesting and spork as DRB server. When I run guard without spork, it shows the correct notifications. But guard with spork shows no notifications at…
4
votes
3 answers

Is there something better than libnotify?

I'm trying to write some code against libnotify, but the documentation for perl with libnotify is seriously lacking. So is there something that, as of 2011-08-26, is "better" than libnotify? All I need is to send a notification to the currently…
Glen Solsberry
  • 11,960
  • 15
  • 69
  • 94
4
votes
0 answers

Can I customize the action GNU Screen takes when it alerts after monitoring for silence or noise?

Specifically, I'm looking to be able to set screen to monitor for silence or noise in a window, and instead of just popping up a notification in the terminal, send that notification to libnotify so I can see it whether or not I'm in the terminal. I…
purplexa
  • 155
  • 8
4
votes
1 answer

action callback for libnotify not working

I am trying to develop a desktop notification system with python and Libnotify. I found this tutorial and tried the example with an action callback, below is my code modification #initialization of libnotify Notify.init("Py-Notification") #creating…
Sunday Okpokor
  • 721
  • 6
  • 18
4
votes
1 answer

Ubuntu volume increase/decrease notification missing

The volume increase/decrease indicator went missing after installing pulseaudio and libnotify-bin. The brightness indicator is still working though. How do I get the volume notifier back in LUbuntu 14.04? Image: http://postimg.org/image/wtu9etuk3/
Prabin Timsina
  • 2,131
  • 3
  • 16
  • 27
3
votes
1 answer

Why libnotify stopped showing Rspec notifications?

I don't know why libnotify stoped showing informations about finished tests. It shows Spork message: "Rspec successfully started." But after that does not show anything. I`m using Ubuntu. guard 'spork', :cucumber => false, :rspec_env => {…
rege
  • 57
  • 9
3
votes
1 answer

How to send a notification to another user with notify-send

notify-send displays a notification box with the message that you want to display on your own machine. Is there a way to use notify-send to send a notification message to another user and display the message on his machine?
Debugger
  • 9,130
  • 17
  • 45
  • 53
3
votes
1 answer

libnotify action callback not being called

I'm trying to create a simple notification in gnome that will execute some code when clicked. The code I have below compiles and runs, but clicking on the notification bubble doesn't do anything. All the code samples I've found indicate that this…
user2506024
2
votes
2 answers

How to hide error messages automaticly in libnotify in gnome shell?

Im using ubuntu 11.10 and gnome-shell 3. I`m using Guard to notify test pass or failure. When I have green test notification hide automatically after few seconds but When my test have errors I have to click on error messages to hide because they are…
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
1
2 3 4