Page 1 of 1

Disable screensaver

Posted: Fri Jan 22, 2010 10:16 pm
by humberaquino
Hello people,

How can I want to disable screensaving at all on fitpc2 running ubuntu 9.10.
I installed the system using deboostrap with the fitpc2 kernel and graphics drivers according to the wiki page http://fit-pc2.com/wiki/index.php?title ... buntu_9.10.
I added:

Code: Select all

Section "ServerFlags"
    Option "BlankTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection
to /etc/X11/xorg.conf but it doesn't work.

Any ideas?

Thanks in advance,

Humber

My full xorg.conf file.

Code: Select all

Section "ServerFlags"
    Option "BlankTime" "0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
	Option 	     "dpms"
EndSection

# Primary (First/only) display
Section "Device"
    Identifier "Card0"
    Driver     "iegd"
    VendorName "Intel(R) DEG"
    BoardName  "Embedded Graphics"
    BusID      "0:2:0"
    Screen      0
    Option     "PcfVersion"            "1792"
    Option     "ConfigId"              "1"
    Option     "SWCursor"              "true"
    Option     "ALL/1/name"                   "fit-PC2 "
    Option     "ALL/1/General/PortOrder"      "20000"
    Option     "ALL/1/General/DisplayConfig"  "1"
    Option     "ALL/1/General/DisplayDetect"  "1"
    Option     "ALL/1/General/xVideo"         "1"
    Option     "ALL/1/General/XVideoBlend"    "0"
    Option     "ALL/1/General/DRI"            "1"
    Option     "ALL/1/Port/2/General/name"           "DVI"
    Option     "ALL/1/Port/2/General/EdidAvail"      "2"
    Option     "ALL/1/Port/2/General/EdidNotAvail"   "1"
    Option     "ALL/1/Port/2/General/Rotation"       "0"
    Option     "ALL/1/Port/2/General/Edid"           "1"
    Option     "PortDrivers"           "sdvo"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x1024"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "ServerFlags"
	Option "AIGLX" "false"
	Option "GlxVisuals" "all"
EndSection

Re: Disable screensaver

Posted: Sat Jan 23, 2010 12:17 pm
by Denis
System->Preferences->Screensaver, uncheck "Activate screensaver" checkbox.

Re: Disable screensaver

Posted: Sat Jan 23, 2010 1:12 pm
by humberaquino
Thanks Denis.
But I don't have a windows manager (e.g. gnome) installed. Only xorg.
I start the server with 'startx' and the only application I need to run.
How can I disable it from the command line or a configuration file?

Thanks again

Re: Disable screensaver

Posted: Mon Jan 25, 2010 7:12 pm
by humberaquino
Hi everybody.

I found a solution.

Code: Select all

xset s off
xset -dpms
xset s reset
The first disables the screen saver, the second the power energy saver, and the third resets the timers and disables the screensaver if active.

Cheers