Undistract-me – Alerts you when long-running commands finally complete
Some commands take ages to run
You're doing some work, and as part of that you need to run a command on the terminal that takes a little while to finish. Perhaps it's your test suite, your build process, or an unusually big data run.
Watching commands is boring
You run the command, watch it for maybe a second and then switch to doing something else—answering email or something more useful and fun than staring at a terminal.
Time flies when you're distracted
You get so deeply involved in your email that twenty minutes fly by. When you switch back to your terminal the command has finished, but you've got no idea whether it was nineteen seconds ago or nineteen minutes ago.
Install Undistract-me in ubuntu
Open the terminal and run the following commands
$ sudo add-apt-repository ppa:undistract-me-packagers/daily
$ sudo apt-get update
$ sudo apt-get install undistract-me