In a previous post, I mentioned that I’m now using Ubuntu Linux with Gnome as my primary desktop. There, I forgot to mention one of my favourite features of Gnome: a time-out facility that encourages me to take a typing break. Under the keyboard settings, I set it to force me to take a 5-minute break after 50 minutes of using the computer. It monitors my use of the keyboard and mouse, and after the specified time, it greys-out the screen and locks the keyboard. There is an option that allows me to postpone the break, which comes in handy when I’m on a roll when writing or in an instant-message conversation.
Although this feature is designed to help prevent repetitive stress disorder caused by keyboard and mouse use, I find it is more useful to me for giving my eyes a rest. When I’m working, I get very focused and can sit in front of the computer for hours without moving. So this “take a break” feature of Gnome is very good for me.
If this sounds like a helpful thing for you, but you don’t use Gnome, try searching for a similar utility for Windows, Mac, etc.
2 thoughts on “You deserve a break today!”
I’ve been searching for a script that can lock the keyboard, mouse, and turn off the monitor every 50 minutes for 10 minutes.
It’s easy to set up the crontab to execute hourly scripts. But I can’t find the command or utility to lock the keyboard and mouse. For turning off the monitor, I found the command line:
$ xset dpms force off
Can you give me an hint?
Sorry to bother you with my poor English!
To lock the keyboard and mouse:
If you are using X, you would use xlock(1).
If you are using a freedesktop (like Gnome), you would use xdg-screensaver(1) with the “lock” keyword.
If you are not using X, then maybe something like lockvc is the right tool.