I’m writing a script to do a check at regular intervals and I want an alert in the Gnome system when it fails. Is there a way to post the alert from a bash shell script or via a command line interface?
You can use this command:
notify-send -u critical "Script error"
For the available options
Source: this old article https://fedoramagazine.org/get-gnome-notifications
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.