I've been adding system notifications in R (programming language for mathematics and statistics) to notify me when my calculations finish.
For those interested in R. The code look something like this. Replace the icon with one of your own.
if(Sys.info()["sysname"]=="Linux"){
system('notify-send -i /mnt/disk/Work/Library/Notifications/Rlogo.png -u normal "Script completed" "Whats next?"')
}
I would like to add a sound notification to this. But haven't been able to figure out how. Can anybody help?
So if I use this piece of code, what should I add to get a (system standard) sound notification?
notify-send -u normal "Script completed"
Many thanks for you time,