Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]which app is controlling dpms?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Wed May 15, 2013 5:55 pm    Post subject: [solved]which app is controlling dpms? Reply with quote

I moved to awesome from xfce4. but when I watch something long in Youtube (>20m), the screen is shut off automatically in 10min. I checked my configuration in laptop_mode, the delay time to shut off the screen is 1200s=20min. I removed xcreensaver too. However, when I watch some video in smplayer which disables screensaver in preference, screen keeps on even in 10min without operation. Someone knows where the problem is? Thanks in advance.

Last edited by pd1986 on Wed May 15, 2013 10:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
nix213
n00b
n00b


Joined: 08 Feb 2013
Posts: 23
Location: Illinois

PostPosted: Wed May 15, 2013 7:18 pm    Post subject: Reply with quote

I'm pretty sure this is an xorg.conf thing. Check 'man xorg.conf', there's an option "BlankTime" that defaults to 10 minutes. It can even (according to the manpage) be set on-the-fly with xset.
_________________
"Wherever you go, go with all your heart." -Confucius
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Wed May 15, 2013 7:55 pm    Post subject: Reply with quote

nix213 wrote:
I'm pretty sure this is an xorg.conf thing. Check 'man xorg.conf', there's an option "BlankTime" that defaults to 10 minutes. It can even (according to the manpage) be set on-the-fly with xset.


I don't have this file "xorg.conf" in my /etc/X11/... the system detects very well my screen. so I don't need any configuration for the display. the only configuration file under /etc/X11 is for touchpad.
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Wed May 15, 2013 8:14 pm    Post subject: Reply with quote

Have a look at "xset dpms list"

Can you post
Code:
xset q
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Wed May 15, 2013 8:19 pm    Post subject: Reply with quote

sebB wrote:
Have a look at "xset dpms list"

Can you post
Code:
xset dpms q


Good, I see it. 600s but how?
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
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: 600 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc/,built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Enabled
Monitor is On
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Wed May 15, 2013 8:34 pm    Post subject: Reply with quote

To disable screen saver
Code:
xset s off


To disable screen blanking
Code:
xset -dpms


You can play with the value
For Screen Saver : xset s x y
For Screen Blancking : xset dpms x y z

Have a look a xset q when you change a value.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Wed May 15, 2013 9:57 pm    Post subject: Reply with quote

sebB wrote:
To disable screen saver
Code:
xset s off


To disable screen blanking
Code:
xset -dpms


You can play with the value
For Screen Saver : xset s x y
For Screen Blancking : xset dpms x y z

Have a look a xset q when you change a value.


So I need xorg.conf to make the configuration work permanently?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed May 15, 2013 10:01 pm    Post subject: Reply with quote

This is just one possible solution, you could create a minimal xorg.conf wit DPMS setting in it, or you could disable it in your DE startup files.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 404
Location: Paris

PostPosted: Wed May 15, 2013 10:02 pm    Post subject: Reply with quote

Jaglover wrote:
This is just one possible solution, you could create a minimal xorg.conf wit DPMS setting in it, or you could disable it in your DE startup files.


Yes, right. Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum