Skip to contentSkip to conversation

screensaver

DISCUSSION Jorge R . Csapo 3 participants 4 messages Feb 11, 2003 – Feb 12, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm having an annoying problem and I wonder if someone can help me. I have a box (slack 8.0) on which I need to disable screen saving. I have disabled everything related to APM and power conserving in the bios. I don't have screensaver running on X. Everything related to it in the kernel is disable. But still, after a few minutes the screen goes blank.

Here is my XF86Config:

Section "ServerLayout"

        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "toque0" "CorePointer"

EndSection

Section "Files"

        ModulePath "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TT/"

EndSection

Section "Module"

        Load  "xie"
        Load  "pex5"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "extmod"
        Load  "type1"
        Load  "freetype"

EndSection

Section "InputDevice"

        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/mouse"

EndSection

Section "InputDevice"
Identifier "toque0"
Driver "mutouch"
Option "Device" "/dev/ttyS0"
Option "MinimumXPosition" "100"
Option "MaximumXPosition" "16384"
Option "MinimumYPosition" "100"
Option "MaximumYPosition" "16384"
Option "Type" "finger"
EndSection

Section "InputDevice"

        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc102"
        Option      "XkbLayout" "us_intl"

EndSection

Section "Monitor"

        Identifier   "Monitor0"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 90.0

EndSection

Section "Device"
Identifier "Card0"
Driver "vesa"
EndSection

Section "Screen"

        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1024x768"
        EndSubSection

EndSection

and my xinitrc:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

twm -f /etc/twm.cfg &
xv -quit -root /etc/logosembarra.pcx & xsetroot -cursor /etc/cursor.juke /etc/mask.juke & /postgres_home/My_Vending_App ; /bin/setleds -L -caps

It's driving me NUTS!

any ideas?

TIA

Signature · 13 lines
Jorge R. Csapo
--------------------------------------------------
 /"\
 \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------
http://www.completo.com.br/~jorge
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster
#1 lore raw

Hi,
Look for the below message in 'rc.M'. Just comment it out.

# Screen blanks after 15 minutes idle time.
/bin/setterm -blank 15

Best - Andrew

Quoted 148 lines · Jorge R . Csapo

Hi all,

I'm having an annoying problem and I wonder if someone can help me. I have a box (slack 8.0) on which I need to disable screen saving. I have disabled everything related to APM and power conserving in the bios. I don't have screensaver running on X. Everything related to it in the kernel is disable. But still, after a few minutes the screen goes blank.

Here is my XF86Config:

Section "ServerLayout"

        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "toque0" "CorePointer"

EndSection

Section "Files"

        ModulePath "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TT/"

EndSection

Section "Module"

        Load  "xie"
        Load  "pex5"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "extmod"
        Load  "type1"
        Load  "freetype"

EndSection

Section "InputDevice"

        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/mouse"

EndSection

Section "InputDevice"
Identifier "toque0"
Driver "mutouch"
Option "Device" "/dev/ttyS0"
Option "MinimumXPosition" "100"
Option "MaximumXPosition" "16384"
Option "MinimumYPosition" "100"
Option "MaximumYPosition" "16384"
Option "Type" "finger"
EndSection

Section "InputDevice"

        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc102"
        Option      "XkbLayout" "us_intl"

EndSection

Section "Monitor"

        Identifier   "Monitor0"
        HorizSync    31.5 - 37.9
        VertRefresh  50.0 - 90.0

EndSection

Section "Device"
Identifier "Card0"
Driver "vesa"
EndSection

Section "Screen"

        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1024x768"
        EndSubSection

EndSection

and my xinitrc:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# start some nice programs

twm -f /etc/twm.cfg &
xv -quit -root /etc/logosembarra.pcx & xsetroot -cursor /etc/cursor.juke /etc/mask.juke & /postgres_home/My_Vending_App ; /bin/setleds -L -caps

It's driving me NUTS!

any ideas?

TIA

Signature · 17 lines
Jorge R. Csapo
--------------------------------------------------
 /"\
 \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------
http://www.completo.com.br/~jorge
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Jorge R . Csapo
Quoted 5 lines · Jorge R . Csapo

I'm having an annoying problem and I wonder if someone can help me. I have a box (slack 8.0) on which I need to disable screen saving. I have disabled everything related to APM and power conserving in the bios. I don't have screensaver running on X. Everything related to it in the kernel is disable. But still, after a few minutes the screen goes blank.

Section "ServerFlags"

    Option	"BlankTime"	"10"
    Option	"StandbyTime"	"20"
    Option	"SuspendTime"	"30"
    Option	"OffTime"	"60"

EndSection

Although the XF86Config(5) man page doesn't actually say so, I believe that setting them to "0" will disable blanking altogether.

BTW, the last three are only relevant if the monitor section has the "DPMS" option.

Signature · 1 line
Glynn Clements <[email protected]>
#3 lore raw

Re: screensaver - SOLVED

That did it, thanks.

Jorge

assim falou Glynn Clements (em 12/02/2003):

Quoted 24 lines
Quoted 5 lines · Jorge R . Csapo

I'm having an annoying problem and I wonder if someone can help me. I have a box (slack 8.0) on which I need to disable screen saving. I have disabled everything related to APM and power conserving in the bios. I don't have screensaver running on X. Everything related to it in the kernel is disable. But still, after a few minutes the screen goes blank.

Section "ServerFlags"

    Option	"BlankTime"	"10"
    Option	"StandbyTime"	"20"
    Option	"SuspendTime"	"30"
    Option	"OffTime"	"60"

EndSection

Although the XF86Config(5) man page doesn't actually say so, I believe that setting them to "0" will disable blanking altogether.

BTW, the last three are only relevant if the monitor section has the "DPMS" option.

Signature · 1 line
Glynn Clements <[email protected]>
Signature · 13 lines
Jorge R. Csapo
--------------------------------------------------
 /"\
 \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X  ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \
--------------------------------------------------
http://www.completo.com.br/~jorge
===========================================
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster