You are not logged in.

#1 2014-01-06 20:12:32

Basomis
Member
Registered: 2013-08-03
Posts: 15

i3 screen blanking

My screen blanks off after 10 minutes of inactivity. I do not use screensaver, xset -dpms doesn't help either. How can I investigate this problem further?

Offline

#2 2014-01-06 20:26:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: i3 screen blanking

What's the output of 'xset -q'? Are you using any DE?

Edit: (Just to make sure) Are you talking about X or tty?

Last edited by karol (2014-01-06 20:26:47)

Offline

#3 2014-01-06 20:30:01

Basomis
Member
Registered: 2013-08-03
Posts: 15

Re: i3 screen blanking

karol wrote:

What's the output of 'xset -q'? Are you using any DE?

Edit: (Just to make sure) Are you talking about X or tty?

I use i3 window manager.
Here is output of "xset -q":

Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     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
                        fedfffefffedffff
                        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:  0x22    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Disabled

Offline

#4 2014-01-06 20:33:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: i3 screen blanking

https://wiki.archlinux.org/index.php/DPMS
See if 'xset s off' helps.

Offline

#5 2014-01-07 06:23:36

Basomis
Member
Registered: 2013-08-03
Posts: 15

Re: i3 screen blanking

karol wrote:

It works. But how do I make these changes permanent?

Last edited by Basomis (2014-01-07 06:24:02)

Offline

#6 2014-01-07 06:25:07

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: i3 screen blanking

write it in .xinitrc before exec i3

Offline

#7 2014-01-07 06:47:57

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: i3 screen blanking

Read the wiki page that karol linked to.  In particular the part at the very beginning about creating an xorg.conf.d config.

Offline

#8 2014-01-07 08:12:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: i3 screen blanking

WonderWoofy wrote:

Read the wiki page that karol linked to.  In particular the part at the very beginning about creating an xorg.conf.d config.

I think both should work, although I recall a situation where a user said that ~/.xinitrc way didn't work with his setup.

Offline

#9 2014-01-07 08:19:25

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: i3 screen blanking

Also, I guess if you want to have these settings for your user, but not necessarily globally, the xinitrc would be a better place to put things.  I often don't think about these things since I am the only one who uses my machines.

Offline

#10 2014-01-09 13:51:50

Basomis
Member
Registered: 2013-08-03
Posts: 15

Re: i3 screen blanking

.xinitrc doesn't work. If I write xset options there, then X doesn't start at all. And it looks like /xorg.conf.d/ settings don't seem to work.

Section "Monitor"
    Identifier "LVDS1"
    Option "DPMS" "false"
EndSection

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

Offline

#11 2014-01-09 14:36:12

Neburski
Member
Registered: 2009-09-15
Posts: 118

Re: i3 screen blanking

Basomis wrote:

.xinitrc doesn't work. If I write xset options there, then X doesn't start at all.

That sounds like something is really wrong. Did you end your command with an ampersand?

xset s off &

Anyway it would be interesting to check why your X session doesn't want to start when you place the xset command into your .xinitrc.

You might also check out this thread to see if you might need to change the order of some of your commands in .xinitrc

Offline

Board footer

Powered by FluxBB