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:

  • install sudo apt-get install libnotify-bin
  • check now notify-send "Notification Message"
  • write to 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:

enter image description here

And now we have next notification in Linux Mint:

enter image description here

Also, be aware that for Cinnamon some additional steps are required Notify-send doesn't work at Cinnamon

| improve this answer | |
  • I think notify-send has been installed by default in all the Mint iso's I've tried in the last few years, so should be in a default full install too. Could add a sound with 'play' too (vlc too but play is more command line friendly ;-) – Xen2050 Dec 4 '15 at 15:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.