Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 any console command to inhibit the screensaver in Ubuntu 11.10?

I don't want to have indicators like Caffeine for every function I need.

In Gnome 2.x it was something like gnome-screensaver --inhibit.

share|improve this question

Something like this should do the stuff :

gconftool --set --type=bool /apps/gnome-screensaver/idle_activation_enabled False

thus, you will disable the gnome-screensaver.

If you want to reactivate it after :

gconftool --set --type=bool /apps/gnome-screensaver/idle_activation_enabled True
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.