You are not logged in.

#1 2015-09-26 00:32:32

rdb
Member
Registered: 2015-09-07
Posts: 9

[SOLVED] Can't disable DPMS

I am using i3wm with xss-lock. I can't disable dpms. I want to disable it permanently, but even temporarily I can't.

xset -dpms

doesn't work, the screen still goes black after 10 minutes. I tried putting

xset -dpms

and (not at the same time)

xset s off &

in .xinitrc, but that didn't do anything. I've also made the file /etc/X11/xorg.conf.d/10-monitor-conf, and put this:

Section "Monitor"
    Identifier "<default monitor>"
    Option "DPMS" "false"
EndSection

Section "ServerLayout"
    Identifier "ServerLayout0"
    Option "StandbyTime" "0"
    Option "SuspendTime" "0"
    Option "OffTime" "0"
EndSection

DIdn't do anything.

Edit: I solved this by adding the following lines to my i3 config:

exec --no-startup-id xset -dpms &
exec --no-startup-id xset s noblank &
exec --no-startup-id xset s off &

Last edited by rdb (2015-09-26 17:35:14)

Offline

#2 2015-09-26 06:42:46

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Can't disable DPMS

Have you tried both at the same time?

xset -dpms; xset s off

works for me.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-09-26 12:56:19

amaro
Member
From: 5.11.1-1-ck-ivybridge, xfce
Registered: 2014-05-09
Posts: 364

Re: [SOLVED] Can't disable DPMS

I've tried many things to disable dpms including the ones you mention and now I have

(sleep 14s && xset -dpms) &
(sleep 14s && xset s off) &
(sleep 14s && xset s noexpose) &
(sleep 14s && xset s noblank) &

in my .xprofile file. I use xfce.

Last edited by amaro (2015-09-26 13:03:53)

Offline

#4 2015-09-26 13:05:48

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] Can't disable DPMS

Offline

Board footer

Powered by FluxBB