2

Is there a program similar to this for ubuntu https://play.google.com/store/apps/details?id=tomka.lockmyphone ?

This app locks the phone for selected periods of time during selected intervals.

Or is there a shell script already out there? I'm not sure how shell scripts work.

I searched this forum and found brainbreak. But it seems to be defunct now.

=== EDIT ===

The solution should be such that it can't be circumvented and locks the screen for sure for a predetermined amount of time at predetermined intervals.

5
  • It would be great if you edit your question to explain what that app does. – Archisman Panigrahi Apr 8 at 7:49
  • @ArchismanPanigrahi Thank you for pointing that out, I've made the changes now. – StackMatch Apr 8 at 8:00
  • I am not sure if such a software is available in Ubuntu. It may be simpler to turn off the computer instead and unplug it from power, so that you would have to put some effort to use it once again. – Archisman Panigrahi Apr 8 at 8:06
  • @ArchismanPanigrahi will a shell script which logs out the logged in user for a set interval do? – StackMatch Apr 11 at 9:48
  • I don't know how to write that shell script (you can edit your question accordingly, and someone will certainly answer). However, you will probably be able to log in immediately after being logged out. – Archisman Panigrahi Apr 11 at 16:00
1

You can try to adapt existing application named WorkRave for your needs.

Its original purpose is

Repetitive Strain Injury prevention tool

but it provides functionality to set time intervals and warnings.

You can install it as normal package from the repository:

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install workrave
1
  • Hi N0rbert, thank you for the suggestion. I wanted to clarify I want a solution that can't be circumvented and locks the screen for sure. I should've mentioned that earlier. I'll update my question now. – StackMatch Apr 9 at 5:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.