Questions tagged [notify-send]

For the questions about the notify-send command used to send desktop notifications

45 questions
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
13
votes
3 answers

Call notify-send from an udev rule

I use Linux Mint 13 MATE, and I'm trying to set up notifications when I plug/unplug devices. First of all, I found udev-notify package, but unfortunately it almost doesn't work for me: it works for very little time (1-2 minutes), and then, if I…
Dmitry Frank
  • 2,668
  • 8
  • 27
  • 38
7
votes
1 answer

Setup notify-send click action

Given some simple notify-send command inside a bash script such as notify-send "test" How can I make a determinate window gain focus when the user clicks that notification? I thought playing around with the -a switch would do something, but I can't…
Waldir Leoncio
  • 311
  • 3
  • 11
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
5
votes
1 answer

Is there any way to syncronize notifications between a Linux desktop and iOS?

I use notify-send and dunst for my notification system on my desktop. After a research, I found out that there are a few commercial solutions for sending push notifications to iOS devices, and I even wrote a script using Pushover. However, I did not…
kdani
  • 191
  • 3
5
votes
1 answer

understand the options of 'notify-send'

I have gone through the man page for notify-send and I am not able to understand following two options -u, --urgency=LEVEL Specifies the urgency level (low, normal, critical). -h, --hint=TYPE:NAME:VALUE Specifies basic extra data to pass.…
mtk
  • 26,802
  • 35
  • 91
  • 130
4
votes
2 answers

What is the notify-send alternative command in Pop! OS

I use notify-send in Manjaro Linux to send notifications, as follows: notify-send [OPTIONS] [Message Summary] [Message Body] However, I moved to Pop! OS and I found that command not found: notify-send I heard that notify-send is dead, so I am…
AKMalkadi
  • 291
  • 3
  • 8
4
votes
2 answers

Send a notification or alert when bash asks for input from user

I am using Ubuntu 16.04 LTS. There is an alias in my .bashrc which uses notify-send: alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e…
pomsky
  • 1,088
  • 10
  • 19
4
votes
2 answers

Prevent "notify-send" from stacking

I have wrote this script, when the increase volume button is pressed to display desktop notifications with "notify-send". when the button is pressed: notify-send "Current volume 'pamixer --get-volume'" The problems is that the notifications get…
Daniel
  • 307
  • 1
  • 2
  • 10
4
votes
1 answer

Notify-send doesn't work at Cinnamon

I am using Linux Mint 17. I want to be informed every 50 min, at every hour for small break. Here is cron job: nazar@desktop ~ $ crontab -l DISPLAY=:0.0 XAUTHORITY=/home/matrix/.Xauthority 00 13 * * *…
catch23
  • 219
  • 2
  • 6
  • 15
3
votes
1 answer

How to customise the appearance of notify-send?

I am running linux mint and use the notify-send command for various purposes, and of course also receive notifications from regular applications e.g. discord or MS Teams When using Cinnamon DE, they look pretty normal, and I can even add icons to my…
Bassie
  • 93
  • 1
  • 9
3
votes
3 answers

How to make dunst show repeated notifications of the same program as one single notification

here are my notifications and I would like each notification to replace the one before it by the way I am using dunst for my notifications
Neo Mosaid
  • 363
  • 1
  • 5
  • 15
3
votes
2 answers

Add notification to mpv through notify.send?

Is it possible to generate a brief notification every time mpv starts a playback? Maybe through notify-send?
kurokirasama
  • 293
  • 1
  • 4
  • 15
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
2
votes
1 answer

notify-send with stderr in notification body if there is stderr

Suppose I have a command like: foo() { echo a echo b >&2 echo c echo d >&2 } I use the following command to process stdout in terminal but send error via notify-send foo 1> >(cat) 2> >(ifne notify-send "Error") The issue i am…
Ahmad Ismail
  • 2,478
  • 1
  • 22
  • 47
1
2 3