#!/bin/bash
set -e
while true; do
sleep 20m
xlock -allowaccess&
pid=$!
sleep 20s
kill $pid
done
Check the manpage for xlock and choose a screensaver that won't keep you looking at the monitor. #!/usr/bin/env bash
set -e
while true; do
sleep 20m
xscreensaver-command -activate
sleep 20s
xscreensaver-command -deactivate
done
This presumes that xscreensaver is configured to have a delay before it is locked (and thus requiring a password to unlock - as would happen if we used `xscreensaver-command -lock`).- doesn't take into account wacky sun hours in nordic countries during winter, I get around this by setting my location to be somewhere else
- isn't able to automatically detect when I'm playing a fullscreen videogame, when I would prefer it automatically switch off
edit also wondering: it cannot know if I'm sitting in a completely dark room, a sunlit room or a room at night with fluorescent lighting. Don't such factors change what the ideal color would be? (not that I am constantly adjusting my display now according to the amount of clouds outside, just wondering what it does exactly. There's like no info whatsoever?)
When will something like this be available on my non-jailbroken iPhone? Heck, maybe someone could make a third-party browser app that tints itself ... turning down the brightness is just not the same.
And here, I am ridiculed for using Flux. Some marketing people just hate it. One co-worker has me disabling it anytime he has to look at my monitor (not much, but still an annoyance!)
https://chrome.google.com/webstore/detail/eye-care/ingonfahm...
+1 for f.lux
And I use a MBP with Retina display for long hours - and I have to say, it has never put stress on my eyes at all (unless I make the screen too bright). Also I do not work at super-high small font resolutions - that allows me to keep distance from the screen. The only thing that I find better than it is Kindle reader.
Your MacBookPro with Retina display uses an LCD with LED light source too - it's just an LCD panel with IPS technology instead of the TN technology (common in cheaper desktop monitor panels).
Seems it'll be annoying for something to break my concentration every 20 minutes, losing my flow all the time.
I've written more about how I got rid of my RSI here: http://henrikwarne.com/2012/02/18/how-i-beat-rsi/
After 20 minutes, when you may finally be reaching flow... "POP"...
Using coloured glasses works for me to limit eye strain.
You get used to it, and I honestly don't think it disrupts any kind of flow. That cartoon is about disrupting you with some other information, not with a break.