Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .