Yesterday I came across a short article in WebUpd8 about this little tool called undistract-me. It will alerts you when long-running commands finally complete.
In ubuntu the installation is as simple as this:
$ sudo add-apt-repository ppa:undistract-me-packagers/daily $ sudo apt-get update $ sudo apt-get install undistract-me
Few more steps are needed in order to set it up in one of your terminal's profile.
In Terminal open Edit->Profile Preferences:
|In Terminal open Edit->Profile Preferences:|
|In 'Title and Command tab' check 'Run command as a login shell'.|
Quit all terminal windows. That's all.
It's time to test it.
In a terminal window run 'sleep 11'. After 11 seconds you should see a notification that says „Long command completed“, „ „sleep 11“ took 11 seconds“.