Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

Is there a command line you can run that can enable in-habitation, disabling computer going to screen saver, sleep?

share|improve this question

migrated from stackoverflow.com Jul 12 '11 at 22:07

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Ubuntu Forums suggests the following:

gconftool --type int -s /apps/gnome-power-manager/backlight/idle_dim_time ***time***
gconftool --type int -s /apps/gnome-power-manager/timeout/sleep_display_battery ***time***
gconftool --type int -s /apps/gnome-power-manager/timeout/sleep_computer_battery ***time***
share|improve this answer

The xset command controls a number of parameters of the X server (the part of the system that provides a graphical display with windows), including its built-in screen saver and blanking ability.

xset -dpms s off

If you're using a third party screensaver, it might still be triggered.

share|improve this answer

Your Answer


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.