Skip to main content

Questions tagged [notify-send]

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

2 votes
1 answer
284 views

How to programmatically kill a notify-send window?

I have a bash script that opens a window with notify-send. I would like to close that window when the script ends, but I can find nothing to kill. The question is a duplicate of https://askubuntu.com/...
Peter Bill's user avatar
1 vote
1 answer
73 views

notify-send won't show up on generic X sessions, but works in a KDE session

I have Suse Tumbleweed, and sometimes I work in a KDE Plasma session on X, and in this case notify-send works as intended. Othertimes I use icewm or compiz as my window managers, and in both cases ...
gboffi's user avatar
  • 1,406
0 votes
1 answer
230 views

Execute a task after waking up from Suspend/sleep

Info Fedora 40, Gnome 46, Wayland systemctl --version systemd 255 (255.6-1.fc40) notify-send --version notify-send 0.8.3 Task I want to execute the following task after waking up from Suspend/sleep, ...
Porcupine's user avatar
  • 2,156
1 vote
0 answers
1k views

How to get user desktop notifications from a sudo-run systemd service on Wayland?

I'm running KDE Plasma on Nobara (Wayland), a Fedora-based distro. I'm brand new to Wayland and Nobara/Fedora, and have very limited experience with systemd. I have a bash script that sends a desktop ...
EldestBizarre's user avatar
1 vote
1 answer
506 views

notify-send: send notification from script running as root [duplicate]

In my desktop environment, I am using dunst as notification daemon, and I can send notification as: notify-send "some message" I have a terminal window open, where I am logged in as root, ...
Martin Vegter's user avatar
2 votes
2 answers
2k views

How can I change the text colour in a Plasma-desktop notification?

I am using Plasma-desktop notifications for all kinds of things, often from scripts using kdialog or notify-send. My Plasma desktop uses a dark background with a light foreground (text). Until a few ...
AstroFloyd's user avatar
1 vote
1 answer
218 views

sending discord notification if changes in bash output (will be put in a cron)

I need to recieve a discord notification if this command does not have the string "No differences discovered" in the last 2 lines of the output. Ive been at it for hours I dont get it! and ...
Simm Simmons's user avatar
2 votes
1 answer
510 views

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 ...
Ahmad Ismail's user avatar
  • 3,100
0 votes
1 answer
356 views

How do I notify-send a long command?

I want to use notify-send to show a notification every n minutes to tell me the vpn status. The command would be running in a popup terminal I have already set up, hidden from view until I need to ...
Marslander's user avatar
5 votes
2 answers
3k views

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-...
AKMalkadi's user avatar
  • 431
6 votes
1 answer
8k views

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 ...
Bassie's user avatar
  • 133
0 votes
0 answers
466 views

Notify-send to login screen in Debian 11

I used this method to send a message which is triggered by udev to the login screen. Which was working on Debian 10 with Gnome. On Debian 11 this is not working anymore. The user Debian-gdm which owns ...
h___m's user avatar
  • 1
0 votes
1 answer
340 views

Elegant way for notification when power button pressed

I want to display a notification for user via notify-send when power button is pressed. Power button has a special script attached which allows to shutdown only when specified amount of time has ...
kamil_debski's user avatar
0 votes
0 answers
416 views

notify-send from fcrontab not displaying notification

Referenced these links with no success. Most of them seem to be ubuntu, gnome, and cron syntax specific. https://askubuntu.com/questions/298608/notify-send-doesnt-work-from-crontab/346580#346580 ...
mcp's user avatar
  • 857
0 votes
1 answer
634 views

notify-send to display desktop notification from script running as different user

I have the following script: #!/bin/sh notificationMessage="Your session is going to expire soon" if [ $# == 2 ]; then notificationMessage="Your session is going to expire in $2 hour&...
Rahul Kumar's user avatar

15 30 50 per page