Page 1 of 1

[Solved] Disable dpms

Posted: 03 Dec 2018, 18:24
by Olaf
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.

Re: Disable dpms

Posted: 03 Dec 2018, 19:31
by Ed_P
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

Re: Disable dpms

Posted: 03 Dec 2018, 19:51
by donald
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). ;)

Re: Disable dpms

Posted: 03 Dec 2018, 19:58
by Ed_P
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.

Re: Disable dpms

Posted: 03 Dec 2018, 20:13
by donald
....because you now use the : in both variants and not the = like proposed before... ;)

Re: Disable dpms

Posted: 03 Dec 2018, 22:13
by donald
@ 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

Re: Disable dpms

Posted: 03 Dec 2018, 22:41
by Ed_P
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:

Re: Disable dpms

Posted: 04 Dec 2018, 15:06
by Olaf
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...