LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to disable power management and screen saver? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-disable-power-management-and-screen-saver-511880/)

jjamesis 12-19-2006 05:29 AM

How to disable power management and screen saver?
 
Hi people

I'm doing some project work for school and help would be very very much apperciated.

I'm got a box running Fedora 5 with gnome as the desktop manager. I written some java code which will start vlc and play videos from other machines.

This box just plays videos (no keyboard or mouse present) so after a while the screen will go to screen saver. Its pretty important I get this to stop. What i've done is diabled apic in setup -> services. and disable screensaver in system -> preferences.
The screensaver stops but the monitor just goes blank, until I put in a mouse and move it around.

Is this a power management issue or a screen saver issue? Can anybody please help because I gotta get this done before my deadline!?!

Thanks
jjamesis

nx5000 12-19-2006 05:59 AM

Could be DPMS:
Whats the result of
xset -q

http://www.linuxquestions.org/questi...highlight=dpms

And this for making it permanent on reboot:
http://www.linuxquestions.org/questi...highlight=dpms

jjamesis 12-19-2006 07:14 AM

Thanks for the reply.

I had Option "DPMS" "True" inside my xorg.conf file and changed to false. It still didn't help though. After about 10 mins the minitor will blank until I move the mouse.

I've played around with a view BIOS settings so I think its a linux screensaver problem. Do you have anymore ideas?

nx5000 12-19-2006 07:17 AM

Quote:

Originally Posted by jjamesis
Thanks for the reply.

I had Option "DPMS" "True" inside my xorg.conf file and changed to false. It still didn't help though. After about 10 mins the minitor will blank until I move the mouse.

You did restart X Window to make it take effect? Just to be sure..
Quote:

I've played around with a view BIOS settings so I think its a linux screensaver problem. Do you have anymore ideas?
Well, if gnome or kde has the screensaver disabled then no, the screensaver will not turn on. So its not a "linux screensaver" problem if its disabled in your Window Manager.

Could be a BIOS thing but then you have to look in your bios settings.

jjamesis 12-19-2006 07:25 AM

Here is the output of the xset -q command.

Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
auto repeat delay: 500 repeat rate: 30
auto repeating keys: 00ffffffdffffbbf
fadfffdfffdfe5ef
ffffffffffffffff
ffffffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100

Pointer Control:
acceleration: 2/1 threshold: 4

Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0

Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215

Font Path:
/usr/share/X11/fonts/misc/,/usr/share/X11/fonts/TTF/,/usr/share/X11/fonts/Type1/,/usr/share/X11/fonts/100dpi/,/usr/share/X11/fonts/75dpi/

Bug Mode: compatibility mode is disabled

DPMS (Energy Star):
Standby: 1200 Suspend: 1800 Off: 2400
DPMS is Disabled

Font cache:
Server does not have the FontCache Extension

File paths:
Config file: /etc/X11/xorg.conf
Modules path: /usr/lib/xorg/modules
Log file: /var/log/Xorg.0.log

nx5000 12-19-2006 07:39 AM

Ooops you were right, I had forgotten about the X screensaver which is something seperate from WM screensaver. sorry.

xset s noblank
xset s off

?

I'm running short on ideas now :)

jjamesis 12-19-2006 07:52 AM

I typed in xset s noblank and then xset -q to make sure it did something.

This is what I got

Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
auto repeat delay: 500 repeat rate: 30
auto repeating keys: 00ffffffdffffbbf
fadfffdfffdfe5ef
ffffffffffffffff
ffffffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: no allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/X11/fonts/misc/,/usr/share/X11/fonts/TTF/,/usr/share/X11/fonts/Type1/,/usr/share/X11/fonts/100dpi/,/usr/share/X11/fonts/75dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
Standby: 1200 Suspend: 1800 Off: 2400
DPMS is Disabled
Font cache:
Server does not have the FontCache Extension
File paths:
Config file: /etc/X11/xorg.conf
Modules path: /usr/lib/xorg/modules
Log file: /var/log/Xorg.0.log

Will I lose these changes when the machine is reboot though? Is there any way to make these changes permanent.

Thanks for all the help
mucho gracias

nx5000 12-19-2006 08:08 AM

You should put the lines in
~/.xsession

or
~/.Xsession

(can't remember for gnome, I think its Xsession)

jjamesis 12-19-2006 09:11 AM

bad news it is still doing the same old thing. about 10 mins and it goes to a blank screen until
I move the mouse.

nx5000 12-19-2006 09:23 AM

http://www.cyberciti.biz/tips/linux-...ing-blank.html

?

On my machine just stopping DPMS did the trick so I have no idea anymore..

jjamesis 12-19-2006 10:32 AM

Can you post the contents of your xorg.conf and xinitrc file?

nx5000 12-19-2006 10:44 AM

Quote:

Option "DPMS" "FALSE"
is in /etc/X11/xorg.conf

and xinitrc is not used because I'm using kde


All times are GMT -5. The time now is 03:25 AM.