I would like to always receive a visual notification when a process has finished in a terminal window. Example of such a process:
youtube-dl -cit --extract-audio --audio-format mp3 https://www.youtube.com/....
I would like to always receive a visual notification when a process has finished in a terminal window. Example of such a process:
youtube-dl -cit --extract-audio --audio-format mp3 https://www.youtube.com/....
Use this:
yourlongrunningcommand ; notify-send "Yay! We're done! Off to the bar!"
To understand the command:
; denoted sequential execution. First execute yourlongrunningcommand and when done, execute the next command... which isnotify-send, which is nothing more than the type of notification
you wanted as per our comment exchangeI just googled to know that second part. I found this on askubuntu.com.