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.

30 questions
44
votes
14 answers

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 result. I am able to call notify-send interactively…
justsomeone
  • 455
  • 1
  • 4
  • 5
32
votes
1 answer

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

The notify-send command manual says Usage: notify-send [OPTION...] [BODY] - create a notification Help Options: -?, --help Show help options Application Options: -u, --urgency=LEVEL Specifies…
Ivan
  • 17,368
  • 35
  • 93
  • 118
15
votes
4 answers

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 any window to pop-up. I tried to run…
IBr
  • 1,745
  • 3
  • 17
  • 26
12
votes
3 answers

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 @ notify-send "Hello" I don't see anything on the monitor where I am logged into the machine. If I…
aikeru
  • 245
  • 1
  • 2
  • 8
8
votes
2 answers

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 speaker system." Is there any way to clear or to…
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
7
votes
1 answer

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 only a part of it with no option to view the full…
林果皞
  • 4,946
  • 2
  • 29
  • 45
7
votes
4 answers

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: This icon will stay in the system tray until I…
Martin Vegter
  • 69
  • 66
  • 195
  • 326
5
votes
0 answers

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 VBoxClient, but I can't tell for sure. I can't even copy…
Nathaniel M. Beaver
  • 1,246
  • 13
  • 28
3
votes
1 answer

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 ), while sending them to the current window via a python script.For about two weeks, notify-send has shown a weird behavior. I know the…
TheoRet
  • 33
  • 5
3
votes
0 answers

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?
Cutú Chiqueño
  • 581
  • 1
  • 5
  • 16
3
votes
0 answers

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 (Super-S). Is there a way to display such…
Eleno
  • 1,849
  • 4
  • 27
  • 39
3
votes
1 answer

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 notifications from the command line (using gntp-send or this…
eadmaster
  • 1,573
  • 4
  • 18
  • 30
2
votes
3 answers

Arch linux: Notifications not working in i3wm - dunst: CRITICAL: Cannot open X11 display

I use arch linux with i3wm. My notifications does not work. When I type dunst in to command line it responds whith: WARNING: No dunstrc found. When I type notify-send --icon=gtk-info Test "This is a test" or dunstify --action="replyAction,reply"…
Jan Černý
  • 1,185
  • 2
  • 24
  • 46
2
votes
1 answer

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 there anyone that is installed in more distros or so…
rugk
  • 2,806
  • 6
  • 28
  • 58
2
votes
0 answers

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 English is not my first language it'd be very…
vaati
  • 29
  • 3
1
2