Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Normally in Ubuntu (11.10) you either configure the screen to go to stand-by after some amount of minutes has elapsed with no user activity. Or you can configure the screen to keep turned on always.

Is there some software or script (cron?) that I can use to have the screen go to stand-by after x minuets during non-working hours, and having the screen turned on always during working hours?

share|improve this question

1 Answer 1

You can run a simple script that uses xdotool to move mouse for one pixel every x minutes (here is how). Additionally you can do this only when idle, what you can find with xprintidle variable.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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