Slap me when I stop working

On Mac OS X I have an app that plays a sound when I enter certain sites. I want a similar software to use on Linux. Does anybody know one?


Solution 1:

Here's a workaround:

sudo apt-get install mpg321 wmctrl

while [ 1 ]; do z=$(wmctrl -l -p | grep -i 'facebook\|miniclip'); if [ -n "$z" ]; then mpg321 myfile.mp3; fi; sleep 5; done

This will play myfile.mp3 if any open current window title matches "facebook" or "miniclip".

Solution 2:

There is always Rescue Time which monitors websites you visit. It doesnt slap you or anything, but it can give you a report on where you are wasting time. They even have 32 bit and 64 bit DEB files to install, plus the app in Firefox and Chrome.

Its free for basic uses, but is $6 a month if you would like to block websites, monitor how much time you spend on a doc, etc.

https://www.rescuetime.com/

DEB files and RPMs here...

https://www.rescuetime.com/setup/download

Solution 3:

If you use Firefox, you can try LeechBlock, an extension "designed to block those time-wasting sites that can suck the life out of your working day". It's highly configurable and could change your life if you suffer of this kind of problem.