I wandering to know how to make notification to user in Linux Mint 17?
I want to do pause after every 50 min of PC work => and after this time make some notification, like:
Please, make some break for 10 min
How to achieve this?
I found solution - crontab
:
sudo apt-get install libnotify-bin
notify-send "Notification Message"
crontab -e
:
50 * * * * DISPLAY=:0 /usr/bin/notify-send -i /home/nazar/Pictures/icons/download_manager.png "Break" "Make a break for 10 min"
It should show notification exactly <anyHour>:50
where download_manager.png
is:
And now we have next notification in Linux Mint:
Also, be aware that for Cinnamon some additional steps are required Notify-send doesn't work at Cinnamon