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

3 Answers 3


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.


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***

When using LXDE (e.g. for running chromium in kiosk mode) you can remove the screensaver by editing ~/.config/lxsession/LXDE/autostart and remove @xscreensaver -no-splash.

You must log in to answer this question.

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