Monday, May 6, 2024
201
rated 0 times [  201] [ 0]  / answers: 1 / hits: 76784  / 2 Years ago, thu, march 10, 2022, 9:00:04

I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that?


More From » notification

 Answers
6

There are a bunch of other cool features with notify-send



We can run a command and make it display in the notification:



notify-send <title> <`command`>
notify-send Date "`date`"
notify-send Disk "`df / -H`"


We can use icons with the notifications



notify-send -i <icon> <Message>
notify-send -i face-wink "Hello! January"


Really annoying pop up



notify-send  -t 0 "Bringing down the system"


and



notify-send <title> <message>
notify-send "who am i" "I am January"


For more options check here


[#35597] Saturday, March 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
disdry

Total Points: 133
Total Questions: 128
Total Answers: 109

Location: Greenland
Member since Fri, Jul 31, 2020
4 Years ago
;