Questions tagged [libnotify]

43 questions
61
votes
8 answers

Notify-send ignores timeout?

Maybe I'm doing something wrong, but shouldn't the commands (run separately) notify-send -t 1 "test" notify-send -t 1000 "test" notify-send -t 10000 "test" have different timeouts? The first being nearly instantaneous, the second taking 1 sec and…
Hooked
  • 2,362
27
votes
3 answers

How do I change how long notifications are displayed?

Is there a way to change how long the libnotify notifications last? I've googled around for this for months and no still no luck. I'm actually starting to think that you can't change it. I can't even find anywhere in the API where developers can…
24
votes
6 answers

notify-send does nothing, yet, libnotify is installed

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…
14
votes
4 answers

Listening to incoming libnotify notifications using DBus

I am attempting to filter every notification through espeak. However, I can't seem to find a way to get the notification body from a python script, or even what signal_name to listen to. bus.add_signal_receiver(espeak, …
8
votes
1 answer

notify-send not working on 14.04, but volume and brightness notifications do

I have browsed around here and googled for over an hour, but are no closer to a solution, so here goes. lets start by killing /usr/lib/x86_64-linux-gnu/notify-osd. I then do notify-send "foo" and it reappears, but nothing shows. Kill it again, but…
8
votes
3 answers

Why do I get GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown with notify-send?

When attempting to display any notification with notify-send I get: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files I also noticed that $HOME/.dbus/ disappeared.…
6
votes
1 answer

How to use notify-send with C++?

I'm a C++ beginner coder. I'm trying to understand how to send notifications using libnotify-bin library. I've read some guys saying don't to use system calls. Any clue?
4
votes
2 answers

Merging with notify-osd

I've written a program that uses Notify-OSD but occasionally messages from my app will stack up in the queue. I've read about Notify-OSD merging However, it doesn't do this automatically - how can I get my application to merge notifications so they…
Marco Ceppi
  • 48,827
4
votes
2 answers

Pidgin missing libnotify plugin on ubuntu 20.04

I installed pidgin when I upgraded to ubuntu 20.04, and realized immediately that notifications were not working properly and I could not close the buddy list without also closing the chat window. When I went to check on the libnotify plugin, I…
metichi
  • 927
3
votes
1 answer

notify-send not showing notification when playing video

I have a script (which is called on keyboard button press) that instantly shows a notification with notify-send and then does some other things. It works perfectly, except in the following cases it does not show any notifications: when a youtube…
3
votes
1 answer

Any way to catch the notifications so another program can read them?

I know you can see notifications in the terminal using dbus-monitor "interface='org.freedesktop.Notifications'" | grep --line-buffered "string", but is there any easy way to catch the notifications and send them to a running application?
PJkeeh
  • 51
3
votes
2 answers

Compiz widget layer interferes with libnotify notifications

I use the Compiz Widget Layer plugin so as to have a fullscreen Terminator window a keystroke away. The only issue I have is, when I'm in the Widget Layer, notifications don't appear, so I don't come to know when someone sends me an IM in Pidgin.…
3
votes
0 answers

Wall broadcast message in terminal to desktop popup message?

I'll receive a wall broadcast message like this in my terminal: Broadcast message from rick@dell (somewhere) (Tue Jun 23 19:21:32 2020): If no activity, shutdown…
3
votes
2 answers

notify-send only works as root (via sudo)

I have notify-send and all the requirments installed, but when I run a simple command notify-send "Test" "Test Message" nothing happens, but if I run the same command through sudo, it works. System processes can send notifications with no problem,…
2
votes
1 answer

Using libnotify from a daemon started with upstart

I have a python script that gets messages from an MQTT server and parses them to display using libnotify. This works fine when I run it from a terminal, but when I run it using upstart I get no notification bubbles. I assume because it doesn't…
daubers
  • 103
1
2 3