Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question
add comment

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

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

2 Answers

up vote 1 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
add comment

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
add comment

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.