4

Does anyone know how to disable ubuntu 10.10 screensaver by just using command or edit conf? because I can only ssh to the machine to turn the screensaver off thx.

Katrin
  • 881
  • 1
  • 11
  • 23

2 Answers2

4

To disable the screensaver:

gconftool-2 -s /apps/gnome-screensaver/idle_activation_enabled --type=bool false

To disable monitor sleeping:

gconftool-2 -s /apps/gnome-power-manager/timeout/sleep_display_ac --type=int 0
에이바바
  • 1,011
  • 11
  • 36
  • 60
  • I dont hv /apps this folder.. I am just using the ubuntu10.10 original screensaver (or I should say the lock screen?), sorry, because I am new in ubuntu – Katrin Apr 06 '11 at 02:20
  • 1
    I tried to type gconf-editor in cmd, there are /apps/gnome-screensaver/idle_activation_enabled and /apps/gnome-power-manager/ I have just made the changes, now checking if it works!~ Thx! – Katrin Apr 06 '11 at 02:39
  • 1
    The command to disable monitor sleeping has changed. gconftool-2 -s /apps/gnome-power-manager/timeout/sleep_display_ac --type=int 0 refer to the answer below by @Nioasulul – Katrin Jul 31 '12 at 04:03
0

The command to disable monitor sleeping has changed. You should now run:

gconftool-2 -s /apps/gnome-power-manager/timeout/sleep_display_ac --type=int 0

Marvin Pinto
  • 30,138
  • 7
  • 37
  • 54
Nioasulul
  • 9
  • 1