Questions tagged [notify-send]

A program to send desktop notifications.

Filter by
Sorted by
Tagged with
1
vote
0answers
24 views

How to disable exit button on Plasma 5 notification?

I want to show notification through notify-send, but without close button. Is it possible? And is it possible to make it appears at a specific place on a screen?
1
vote
1answer
101 views

Check for running proccess constantly

I need to check whenever a process is running and alert if the process dies, is stopped or closes. I have used pgrep and processName and then alert, like this: pgrep processName && notifiy-...
4
votes
1answer
239 views

Is it possible to permanently show notifications on my screen?

With the command notify-send, it's possible to show a notification on screen for a small amount of time. But I'd like to have a specific notification on my screen for an undetermined amount of time. I'...
0
votes
0answers
19 views

notify-send no longer displays when the script is run by crontab? [duplicate]

My script uses notify-send to show notifications. These notifications do not display when the script is run via crontab, but do display when run from the command line (as my user) in Ubuntu 18.04 with ...
0
votes
0answers
51 views

Budgie How to send a custom notification when i take a print screen?

I want to make a custom notification when i take a print screen, how could i do that? I was thinking something like: when prtscr press notify-send -i /home/rodrigo/Imagens/icon/iconps.png Custom ...
1
vote
0answers
319 views

limits of notify-send in ubuntu 18.04

before 18.04 i used to have the following command that shows the last 10 lines of a file in notification notify-send -u critical "test" -t 7000 $(tail -10 /tmp/Follow-test) in Ubuntu 18.04 it shows ...
3
votes
1answer
318 views

Command with notify-send and rhythmbox-client works, but when I assign a keyboard shortcut for it rhythmbox-client won't start

I am trying to get the following shortcut to work: notify-send -i rhythmbox "RhythmBox Is Playing" "$(rhythmbox-client --print-playing)" It works fine If I run it from the command line, but when I ...
5
votes
1answer
829 views

Display terminal command result in Desktop notification

I need to display the result of a terminal command in notification. Notifications can be triggered by running: notify-send "Notification message" The command I have is: sudo /opt/lampp/xampp ...
1
vote
1answer
481 views

Send notification from systemd daemon

I know that I can send a notification to the user that will appear in the top-right corner of the screen an disappear on its own, like this: notify-send "Device detected correctly" However, this ...
1
vote
0answers
73 views

What are the named Icons in Ubuntu? [duplicate]

I see that I can run: notify-send -u low -i terminal "yo" and notify-send -u low -i error "yo" But I couldn't find any mentions of the icon names "terminal" and "error" in the man page. How can ...
2
votes
1answer
725 views

notify-send shows a dialog box instead of notification?

I am trying to send a simple notification with notify-send "Linux" And nothing shows up. However notify-send "Linux" -t 0 shows a dialog box like this How can I make notify-send to send a ...
2
votes
0answers
98 views

Who is sending to notify-send?

After reinstalling some drivers, I am receiving a lot of annoying empty messages to my notify-send every 30 sec - 5 min. # dbus-monitor "interface='org.freedesktop.Notifications'" outputs method ...
4
votes
2answers
2k views

How can I show notify-send messages triggered by crontab? [duplicate]

test.sh: /usr/bin/notify-send "test" The following works: bash ~/Documents/test.sh BUT the crontab never shows the notification. Why? */1 * * * * bash ~/Documents/test.sh
1
vote
0answers
463 views

Why don't work notify-send from terminal?

Ubuntu 16.04, notify 0.7.6 I tried notify-send "something", and this doesn't work. But notify-send -u critical "test" worked. Why this happened? I install notify-daemon, but this doesn't help me? ...
0
votes
1answer
78 views

What is needed to use notify-send in a snap? [duplicate]

I use notify-send in a python program, and I'm trying to make a snap of that program. The snap builds but I get a No such file or directory 'notify-send' What package do I need to install to make ...
2
votes
0answers
52 views

View full text of long notification bubble [duplicate]

I use npm tool of laravel called mix, to transform JS ES6 to ES5 When there is error during transformation the npm tool popups system message (Like when I connect to Wifi etc..) Now the message is ...
1
vote
0answers
29 views

notify-send not working from cron [duplicate]

* * * * * export DISPLAY=:0.0 && usr/bin/notify-send "Hello world!" I added the above command to the crontab, notify-send is working from terminal but not from the cron. Also checked the logs,...
2
votes
1answer
702 views

Ubuntu 16.04 - udev rules and notify-send

I am currently working on a mini project for which I need to set up a udev rule that sends a notification to the desktop when an external storage drive is plugged into the machine. This notification ...
2
votes
1answer
130 views

What is the command to kill/close notifications? [duplicate]

By default, I have to wait for a few seconds for the notifications to fade off. I'd like to know the command to kill them immediately, so I can bind it to a shortcut key. (Super+N seems good right ...
0
votes
1answer
67 views

Send all notifyOSD messages to another ubuntu on the network

I want an ubuntu to send a copy of all its notifyOSD messages to another ubuntu on the network. Preferably with a little "addition" to the title that specifies the host name of the ubuntu that ...
2
votes
0answers
282 views

Notify send on headphones plugged

I tried to simply do a notify-send "PLUGGED" on plug event following the answer for this. But it didn't work. I created a script, placed it in /etc/acpi which has: notify-send "HeadPhones Connected" ...
2
votes
0answers
553 views

Show notify-send content in Gnome's lockscreen

I'm searching for a way to show the content of a notify-send message in the lockscreen of Gnome 3.20. Normally this is configured under settings > notifications, but "notify-send" isn't mentioned ...
0
votes
1answer
197 views

sudo -u username notify-send stuck

here is my code: roroco@roroco ~/Dropbox/rbs/ro_wemedia $ time sudo -u root notify-send 'prpr' real 0m0.033s user 0m0.008s sys 0m0.012s roroco@roroco ~/Dropbox/rbs/ro_wemedia $ time sudo -u ...
1
vote
1answer
159 views

Automatically notify when IP changes?

Is there a way I can send a notification to myself when the local DHCP IP changes? Can I use libnotify? I use Xubuntu. Below is a screenshot that shows what the notification looks like, can I design ...
2
votes
1answer
2k views

crontab + notify-send + Ubuntu 16.04 [duplicate]

In my Ubuntu 16.04 , 64 bit OS, I tried the following * * * * * export DISPLAY=:0.0 && notify-send Hey "How are you" And * * * * * export DISPLAY=:0.0 && /usr/bin/notify-send Hey "...
2
votes
1answer
382 views

Showing notification in Ubuntu based installs

I am (trying) to write a simple python script for ubuntu based OS. As part of script, a notification is also shown. Now, I have gone through a number of posts over here but with each one I have an ...
1
vote
1answer
486 views

How to make Ubuntu to show a notification when there is a btrfs checksum failure?

Like aa-notify, which shows a notification on my desktop when AppArmor denies something.
2
votes
2answers
925 views

notify-send only works with sudo

Problem sudo notify-send Test "Hello World" Displays a notification as expected. notify-send Test "Hello World" Does not display a notification. Further information Ubuntu version 16.04. The ...
1
vote
1answer
2k views

How to monitor syslog and get alerted when there is a certain entry?

There is a certain error which is always the same and I am getting in syslog, however I am not really sure what the error is being caused by so I would like to get alerted immediately whenever it ...
1
vote
0answers
377 views

notify-send not showing popup message

I have a script which executes on certain conditions, whenever I manually execute the script, the popup appears, however if i try to aumotate the script(i.e. run the script right after system is ...
2
votes
1answer
539 views

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 ...
0
votes
2answers
1k views

Setting DISPLAY=:0 has no effect to notify-send via ssh

I have ssh access to my flatmate's computer (Ubuntu 14.04). I want to send her a message via ssh, thus I use this command export DISPLAY=:0 && notify-send "sample message" The command exits ...
4
votes
1answer
2k views

How can I log all notify-send actions?

I keep getting very strange notifications which go away before I can read them, they are long, and appear at random times, the most recently one came up was during a kernel upgrade, it had a strange ...
13
votes
2answers
896 views

Is there a “don't disturb” option to temporarily hide notifications, like on macbooks?

Does there exist "Don't disturb mode" as is does for OSX device, where you can decided when notification can bother you, or not.. I just installed chrome, and I usually get spammed by group texts ...
2
votes
3answers
435 views

'persistent' notification on ubuntu touch

On ubuntu touch, one can do a 'temporary' notification via 'notify-send'. When I do that it will display a notification for 5 seconds. After that it is gone, and any trace it was ever there with it. ...
3
votes
1answer
3k views

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?
5
votes
3answers
2k views

How can I use the notify-send command in combination with the Calcurse calendar?

I use the calendar and scheduling application calcurse. This is a fine command-line program. For example, with calcurse -a you can display the events for the day. How i can send this info to notify-...
4
votes
1answer
361 views

Execute a script every time a particular application makes a notification

I searched quiet a bit but all the articles and answers only tell you how to create your own notification. What I want to do is to keep track of all the notifications made by all the applications, and ...
1
vote
1answer
540 views

Script, using notify-send, refuses when run from Startup Applications

I want to run a python script that produces a desktop notification on start-up in Ubuntu 12.04. How can I do this? I tried some common ways. On start-up in the "ps aux" command my program is listed, ...
1
vote
1answer
261 views

New mail notification changed to a blue string in the upper left corner

After recent update my new mail notification is changed to a very simple blue line in the upper left corner of the screen. Any ideas how can I change it back to a normal Unity notification? I'm on ...
0
votes
1answer
491 views

notify-send not working, seems many bugs [duplicate]

i'm trying to create notification script but it doesnt work. When i click for example "control+alt+m" it should pop notification which it does, but its like default and i cant change anything. I ...
5
votes
2answers
3k views

Is it possible to cancel or clear a notification created by using notify-send?

So I wrote a little script that makes sure a certain user plugs in a laptop when he logs on (it disables if he doesn't). The script uses notify-send to tell him to plug it in. If he plugs it in, the ...
13
votes
2answers
1k views

Alert the user when they unsafely unplug an USB thumb drive

Users repeatedly complain about lost data on USB thumb drives after they unplugged them without unmounting. We run Ubuntu 14.04 LTS on our machines. Auto-mounting is enabled. As I am tired of ...
1
vote
0answers
191 views

How can I dismiss a notify-send notification with a keyboard shortcut?

How can I dismiss one of these notifications with a keyboard shortcut? I am calling it with the notify-send command, although I'd like to to work on all notifications.
8
votes
1answer
13k views

How do I send desktop notifications using Python 3?

I have a python3.4 script. I would like to send to the desktop a notification. How do I handle this in python? Can I use notify-send? I'm using Ubuntu 14.04. #in my script if something: notify-...
0
votes
1answer
114 views

Personalize my-weather-indicator notify-send messages

I'm quite satisfied with the my-weather-indicator widget, it also provides frequent notifications through notify-send on Ubuntu. Would it be possible to alter and personalize the notification message ...
1
vote
1answer
1k views

Alternative to notify-send

I have to change from notify-send because there is a bug when for example youtube is fullscreen on one screen causes my other screen not to display the notify-send popup. Are there any alternatives ...
7
votes
1answer
4k views

How to customize the font style in notify-send?

I am trying to change the format of text appearing in pop-up notification while using notify-send command. Here I saw that it can be done using HTML formatting. But that doesn't seem to be working for ...
0
votes
1answer
509 views

Create instant desktop notification linux [duplicate]

I'm writing a program which notify user about something repeatedly with new message each time using notify-send, but the problem is I want notifications to stay there for 5 seconds but it should be ...
0
votes
1answer
6k views

notify-send and terminal command

Let's use sudo apt-get install linux as an example. Here is the notify send command: notify-send -i terminal Bash "execution complete" How could I substitute 'bash' with the entire sudo command? ...