You are not logged in.

#1 2013-04-11 02:40:55

piedro
Member
Registered: 2013-04-11
Posts: 218

[SOLVED] How to avoid that my monitor goes blank after about 20min?

Hello everybody!

This is probably a real newbish question but I don't find any solution for that:

After about 20 minutes of inactivity my monitor blanks my screen and shuts down.
Yes, it wakes up after pressing a key but I want to disable this behaviour for a number of reasons.

This happens in KDE, on a tty terminal, even when watching a youtube video.

I already tried (as I read in an old thread):

- xset -dpms (this gives an error: unable to open display 0)
- I disabled all KDE screensaving methods (as far as I know ...)
- there is no more sysinit.rc to edit - it's all systemd now ...
- editing /etc/X11/xorg.conf doesn't work either - this file doesn't exist anymore

Does anyone know how to do it?

thx for reading,
piedro

Last edited by piedro (2013-04-19 13:31:00)

Offline

#2 2013-04-11 02:43:18

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

Search for "dpms off". You can create a xorg.conf, but monitor related settings are normally done in the 10-monitor.conf file now.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2013-04-11 05:22:56

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

I have

xset -dpms
xset s off

in my .xinitrc and use startx instead of a display manager. Issuing those commands in a terminal also works (when I run vlc those commands get reversed.) You should investigate why you get the error "unable to open display 0)" if you are issuing the command inside X.

Offline

#4 2013-04-11 05:48:55

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

piedro wrote:

unable to open display 0

Check your hostname.

Offline

#5 2013-04-11 07:13:35

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

Have you played with System Settings > Power Management and System Settings > Display and Monitor > Screen Locker?

Last edited by lucke (2013-04-11 07:17:08)

Offline

#6 2013-04-11 12:18:56

rix
Member
Registered: 2012-07-25
Posts: 238

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

Offline

#7 2013-04-11 13:13:47

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

@Inxsible : thx for your answer, but I don't have the file "10-monitor.conf", I tried to find it systemwide but it seems not to be there ...

@stryder & @brebs : my hostname is set, but I found that when i type these commands into a KDE Konsole windows it works! Before I used yakuake which obviously works somehow different .... and I'd rather prefer not to use the startx command but if everything else fails i will do this ...

@lucke : yeah, it's all disabled and these settings shouldn't affect the tty-ssessions that i access when pressing CTRL+ALT+1,2,3,...

@rix : that looks cryptic but I read the article and will try ...

Now I have to wait for a while (which i can't do right now) and see if one of the remedies worked :-)
I'll let you know ... thx everybody!

p.

Offline

#8 2013-04-11 14:08:20

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

piedro wrote:

@Inxsible : thx for your answer, but I don't have the file "10-monitor.conf", I tried to find it systemwide but it seems not to be there ... p.

You can always create one. roll

It lies under /etc/X11/xorg.conf.d/


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#9 2013-04-11 16:36:55

kleskjr
Member
Registered: 2011-12-31
Posts: 34

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

Offline

#10 2013-04-19 06:31:01

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

Weel - after some testing it works now ... I just don't know exact what did it: I used the commans (thx stryder!) and the cryptic ones (thx rix!) and it seems not to blank any more at all!

That's great, so thx everyone and :SOLVED :-)

Offline

#11 2013-04-19 08:10:56

rix
Member
Registered: 2012-07-25
Posts: 238

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

You're welcome dude. wink

Offline

#12 2013-04-19 13:20:26

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

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

piedro wrote:

Weel - after some testing it works now ... I just don't know exact what did it: I used the commans (thx stryder!) and the cryptic ones (thx rix!) and it seems not to blank any more at all!

That's great, so thx everyone and :SOLVED :-)

Please mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#13 2013-04-19 18:15:35

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: [SOLVED] How to avoid that my monitor goes blank after about 20min?

I am not at my system right now, but I would recommend you to use the build-in power manager coming with KDE. You should find it under system settings. That way you don't need to do stuff the shell, as you are on a DE anyhow.


Furthermore, have a look at caffeine for your YouTube problem. It's in the AUR.

Offline

Board footer

Powered by FluxBB