Enforce screen break automatically every hour

1

I am using Ubunte Mate 16.04. I would like to know if it is possible to lock the screen every hour automatically? I does not matter if the computer is idle or not. After working for an hour a screen break for at least 5 minutes should be enforced by locking the screen. After 5 minutes have elapsed the work may be continued.

nautical

Posted 2016-07-27T11:41:15.093

Reputation: 222

Welcome to SuperUser! Your question is about Ubuntu. You would probably get better expertise, and therefore better answers on Ask Ubuntu. Please flag your question to be migrated, or delete your question and re-ask it over there. Please do not cross-post (i.e. ask your question on Ask Ubuntu before you delete here or your question is migrated) You may ask your question there once you have deleted your question here.

– fosslinux – 2016-07-28T01:12:08.837

@ubashu My question is generally about Linux. I happen to use Ubuntu currently but this might very well change in the future. If every question that involved Ubuntu were to be migrated then I really do not see any point in having the Ubuntu-tag here. – nautical – 2016-07-28T09:20:35.803

Answers

1

The wikipedia page on rsi software gives some links to Linux tools. pokoy seems to fit your requirements, with a configuration file of options like

enable_skip <true/false>:
 If set to true, user can press 's' to skip break.
enable_postpone <true/false>:
 If set to true, user can press 'p' to postpone break.
break <time_between_breaks> <break_duration> <postpone_time>:

You need to compile it, so may need to install libxcb-devel.

meuh

Posted 2016-07-27T11:41:15.093

Reputation: 4 273

1

I use Workrave, available in the Ubuntu's repository.

– Marco – 2016-07-27T13:59:34.970

1

with MATE as desktop environment you can easily achieve this with an onboard-tool:

open the Control Center and search for Keyboard; in the following window go to the Typing Break-tab and check the first checkbox... the settings should be self-explaining.

Keyboard Preferences

DJCrashdummy

Posted 2016-07-27T11:41:15.093

Reputation: 163