disabling screensaver on Linux

5,250

gconftool-2 --set -t boolean /apps/gnome-screensaver/idle_activation_enabled false

This is a per-user setting, so you could add this to the default settings like this:

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set -t boolean /apps/gnome-screensaver/idle_activation_enabled false

This seems to work for me.

Share:
5,250

Related videos on Youtube

Massimiliano Catinoto
Author by

Massimiliano Catinoto

Programmer and also System Administrator, located in Italy, traveling a lot for helping in solving IT stuff issues.

Updated on September 18, 2022

Comments

  • Massimiliano Catinoto
    Massimiliano Catinoto over 1 year

    I all, i have need to disable screensaver for Gnome and KDE graphic environment on more server with RHEL4 and RHEL5.

    Is there a way to do it at boot time or any other solution?

    thank you very much. Max

    • Tim
      Tim over 12 years
      To be clear, screen saver or screen blanker, or both?
    • Sumeet Kashyap
      Sumeet Kashyap over 12 years
      You could uninstall the screensavers - usually in a package with "screensaver" in the name
    • djangofan
      djangofan over 12 years
      I have to say that the versions of Linux that were coming out back in 1995 had better configuration control for the screensaver than recent versions of linux. Gnome and KDE have messed it all up IMHO.