Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libnotify]

Helper library that sends desktop notifications to a notification daemon following the Desktop Notification specification. It includes a set of libraries for most common languages and a binary that can be used independently from the shell.

1
vote
0answers
17 views

What are the differences/(dis)advantages of zenity vs notify-send?

There is both zenity and notify-send. (on Fedora/GNOME at least, both seems to be pre-installed.) So considering I want to show notifications, what are the differences between these too ones? Is ...
2
votes
0answers
89 views

Run script when get a certain notification

Spotify sends a notify-send when the track changes, so when this happens I want to run a certain script to get the current song name, fetch the song's lyrics with clyrics and put it on conky. Since ...
0
votes
1answer
192 views

bell behaviour in byobu

I am experimenting with bells in my wm. for this i am using the command sleep 3; echo -e "\a" Here are some different scenarios: running it in a terminal and changing workspace will give me an ...
0
votes
1answer
1k views

systemd service not executing the python script

I was making a battery notifier script for my raspberry pi3. The script is executing when I do /usr/bin/python /home/pi/Documents/shutdown.py and showing the popup notifications.  However the ...
3
votes
1answer
847 views

libotify / notify-send: body text is not printed if it contains '<' or '>'

I am on Linux Mint 18.1, MATE. I am using the notify-send command to visualize the name of keys (such as <enter>), while sending them to the current window via a python script.For about two ...
2
votes
1answer
393 views

Install libnotify development package

I want to build an elementary os bluetooth github project on elementary os. When I run cmake -DCMAKE_INSTALL_PREFIX=/usr .. it starts and checks some things. Then error: No package 'libnotify' ...
1
vote
1answer
1k views

dbus-laauch failed caused by the child process exited

I want a python script to send notification. The script can be run successfully and show what I want. but crontab did not boot it in right way. the following is the the code refer to the libnotify ...
2
votes
1answer
620 views

libnotify with bash and grep

I am trying to get libnotify (notify-send) to pop-up a notification once a certain character is found while I tail a log file. Without grep it works fine ... Here is my code: tail -f /var/log/...
5
votes
1answer
2k views

notify-send - How to display full message when message is longer than one line?

Let's say I use notify-send with this long messages: notify-send 'd: title, up/down: zoom, w: win_to_img, </>: rotate, *: orig, Enter/0: blah blah blah' But it truncates the message, showing ...
3
votes
1answer
130 views

Why can't I use `kill $!` with parameter expansion in Bash, when the most recent process is “notify-send”?

According to Bash: Special Parameters: ($!) Expands to the process ID of the job most recently placed into the background, whether executed as an asynchronous command or using the bg builtin I ...
3
votes
0answers
753 views

Log dbus Desktop Notifications

Sometimes I get error messages in desktop notifications, such as this: Unfortunately, it's difficult to debug this. I can't use xprop to see the process id that sent it. It claims to be from ...
16
votes
1answer
4k views

What do a notify-send notification category, hint and version parameters mean?

The notify-send command manual says Usage: notify-send [OPTION...] <SUMMARY> [BODY] - create a notification Help Options: -?, --help Show help options Application ...
1
vote
0answers
398 views

Show OSD notifications without installing libnotify-bin

I want to send my own notifications from the command line, that look like this: I found out that it probably uses xfce4-notifyd. I dont want to install libnotify-bin because when using notify-send ...
2
votes
0answers
235 views

Is it possible to query messages that were sent with notify-send?

I want to query the messages that were already sent with notify-send in the running session from within a script. Is that possible?
1
vote
0answers
1k views

More visible desktop notifications in Gnome Shell?

The notify-send command lets script notify you about events. However, in Gnome Shell 3.14.4, with fullscreen applications, such notifications will not be visible until you switch to Overview mode (...
1
vote
0answers
47 views

procmail and libnotify: how to display emails received? [duplicate]

I am trying to get procmail to work with libnotify (notify-send). My .procmailrc has a couple of recipes, which just essentially filter mails into different folders.. nothing fancy. Most of my ...
9
votes
4answers
5k views

notify-send/notification-daemon: disable tray icon

When I use notify-send to send a simple message to notification-daemon: notify-send "hello" it not only displays the message but also creates a system tray icon, as shown on the screenshot below: ...
1
vote
1answer
170 views

How to send system messages to irssi?

I use Irssi together with bitlbee as my overall communication interface (IRC, GTalk, Twitter, XMPP …). Whenever you can speak of something being a message I try to bring it into irssi. Up to now my ...
4
votes
1answer
5k views

notify-send not working on Debian Wheezy

I have libnotify-bin installed, yet when I type notify-send "hello" nothing happens. No error, no message I have the necessary packages: # dpkg -l | grep notify ii libnotify-bin ii libnotify4:...
2
votes
0answers
86 views

Create a notification on the screen initiated by root [duplicate]

I would like to give out a notification on screen by a script that is running by root on Ubuntu 14.04. I tried this: #!/bin/bash MAINUSER=$(cat /etc/passwd|grep 1000|sed "s/:.*$//g") su $MAINUSER -c ...
10
votes
1answer
9k views

notify-send not working under ssh

Maybe this is answered somewhere else, but I didn't see it. I am running Ubuntu 14.04. When I SSH into my machine, for example: ssh <user>@<machineip> notify-send "Hello" I don't see ...
2
votes
1answer
218 views

Is there a way to monitor all events sent to the libnotify module?

Is there a way to monitor all events sent to the libnotify module? I am trying to debug faulty sound notifications from Thunderbird, and I am hoping that if the way Thunderbird links with sounds is ...
2
votes
1answer
580 views

Can libnotify be used to execute a script?

Can libnotify be used to execute a script? I want to use a script to play a sound, or even run more complicated programs via the notify-send in bash files and other programs. Is that possible? It ...
3
votes
1answer
563 views

How to forward libnotify to growl

I'm looking for a simple solution to forward libnotify notifications (from knotify4) to a remote growl servers (running on Windows and Android). So far I'm only able to send remote growl ...
30
votes
12answers
18k views

Using notify-send with cron

I am using Arch Linux with KDE/Awesome WM. I am trying to get notify-send to work with cron. I have tried setting DISPLAY/XAUTHORITY variables, and running notify-send with "sudo -u", all without ...
12
votes
3answers
13k views

Notifications and notification daemon not working on window manager

Notifications doesn't work on Linux standalone window managers (Openbox, Awesome WM and alike). I tried to install notification-daemon and dunst, but sending with notify-send "something" does not make ...
6
votes
2answers
3k views

Clearing/modifying previous libnotify notifications?

I have written a script which generates notifications like this: notify-send -i audio-card "Transferring audio playback to speakers." \ "Audio playback has been transferred to the analog output ...