As a person working in computer science working offline to avoid facebook and thelike is not always (meaning hardly ever) possible for me since I mostly have to be online to work.
I have tried leechblock and similar things but the problem becomes that at some point I start making systems for myself to hack, which is kind of pointless if oyu have root.
I would very much like to try out the method described here. (Short version: reboot your PC every time finish a task or get bored with it)
Unlike for the author of this blog my work is mainly done not in screen sessions but in IDEs ans other not-so-fast-to-start-up stuff, meaning a full reboot including loading all my programs will take its time. So, the question is:
How can I block all user input and preferrably blank the screen for a given amount of time?
The idea would then be to have a keyboard shortcut to activate the script/program (which would probably also have to have root i guess?)
So you want to treat yourself like a 16-years old boy, don't you? Ok, this should be a good starting point...
You can call it passing it the number of seconds you want to torture yourself (e.g.
force-screensaver.sh 60
it's the maximum I've been able to stand). Then you just have to bind it to a keyboard shortcut and you're done.Have a nice pain :P