I have a script that runs as a crontab job at a fixed interval. It monitors for certain events on the system and when triggered will use notify-send to notify me. The code for this is as follows:
Code: Select all
export DISPLAY=:0 && notify-send --urgency=normal "Event message here"
This used to work perfectly in LM18.*. But since migrating to LM19 I am no longer getting notification when the event triggered. However, if I run the script manually from a terminal I can still get the notification.
Anybody have any idea what is going on here? According to
https://blog.linuxmint.com/?p=3557 there is some changes made to the notification system for Cinnamon 3.8. But I am not sure if this is the source of the problem here. Would appreciate any pointer from anybody here. Thanks