[Solved] Disable dpms

Post here if you are a new Porteus member and you're looking for some help.
Olaf
White ninja
White ninja
Posts: 24
Joined: 29 Nov 2018, 14:32
Distribution: Porteus 4.0 LXDE 32/64

[Solved] Disable dpms

Post#1 by Olaf » 03 Dec 2018, 18:24

Hi,

on Porteus-LXDE 32 bit running on USB stick, I had to add:
* set -dpms
* set x off
to rc.local in order to disable dpms and screensaver and it worked nicely.

However, doing so on Porteus-LXDE 64 bit does nothing. Am I doing something wrong?

PS: The forum search doesn't work... It lasts "forever" and gives an empty page on any query.
Last edited by Olaf on 04 Dec 2018, 15:14, edited 1 time in total.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Disable dpms

Post#2 by Ed_P » 03 Dec 2018, 19:31

Yes, searching isn't working and still getting the JSON errors even with mchat empty and the reply box suppressed.

Use a search engine and add this to the search: site=forum.porteus.org It works with Google and DuckDuckGo.

Try site=forum.porteus.org dpms site:forum.porteus.org dpms
Last edited by Ed_P on 03 Dec 2018, 22:50, edited 1 time in total.
Reason: donald tweak
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Disable dpms

Post#3 by donald » 03 Dec 2018, 19:51

Ed_P wrote:
03 Dec 2018, 19:31
Try site=forum.porteus.org dpms
gives 9 results

better syntax dpms site:forum.porteus.org = 159 results (google). ;)

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Disable dpms

Post#4 by Ed_P » 03 Dec 2018, 19:58

Interesting results donald.

Using Google with dpms site:forum.porteus.org I get 93 results and with site:forum.porteus.org dpms I get 74 results. A difference yes but not like yours.
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Disable dpms

Post#5 by donald » 03 Dec 2018, 20:13

....because you now use the : in both variants and not the = like proposed before... ;)

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Disable dpms

Post#6 by donald » 03 Dec 2018, 22:13

@ Olaf

Try this:
open home/guest/.config/lxsession/LXDE/autostart
and add
@xset s 0 0
@xset -dpms

These settings "should" survive a reboot -- check with xset q

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Disable dpms

Post#7 by Ed_P » 03 Dec 2018, 22:41

donald wrote:
03 Dec 2018, 20:13
....because you now use the : in both variants and not the = like proposed before... ;)
:lol: Come on, a = character is just a : character stretched out. :D

Thanks for clarification. :beer:
Ed

Olaf
White ninja
White ninja
Posts: 24
Joined: 29 Nov 2018, 14:32
Distribution: Porteus 4.0 LXDE 32/64

Re: Disable dpms

Post#8 by Olaf » 04 Dec 2018, 15:06

Hi,

thanks all for the hints.

@donald,
didn't try it yet but will do asap.

The commands I wrote on the first post were wrong as I wrote them on a early usage experiment while testing Porteus.

Just to clarify how I solved it in case someone has the same issue:

1) Edit /etc/X11/xorg.conf.d/10-monitor.conf
2) Add the Option lines to the ServerLayout section as in:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection
3) Same on Monitor section:
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "false"
EndSection
4) Add this section at the very end:
Section "Extensions"
Option "DPMS" "Disable"
EndSection
5) Reboot and dpms/screen blanking should go forever. Tested both in Porteus LXDE 32 and 64 bit.

6) Enjoy Porteus...

Post Reply