Page 1 of 1

Disable powersaving

Posted: 02 Nov 2019, 19:43
by Buurman
Porteus 5 RC

How do i disable powersaving functions ? (desktop)
no GUI for it and there are several files that point to power-management ..


problem: power goes halt/hibernate (screen off, sound off etc) because no mouse input .. it just goes off while listening to music or playing game with joystick .. i want it to always stay on

Disable powersaving

Posted: 04 Nov 2019, 08:36
by ncmprhnsbl
which desktop module are you using?
maybe:

Code: Select all

xset q  (gives settings  status)
xset s off   (turns off screensaver/blanking) or
xset s 00  (set the timeout to never)
xset -dpms (disables powersaving)
if this works for you they could go in auto start(how: depending on which DE)
unless something else is controlling this..

Disable powersaving

Posted: 04 Nov 2019, 09:22
by Blaze
Buurman, like this

Code: Select all

su
toor
echo 'xset -dpms s off' >> /etc/rc.d/rc.local
and reboot.

Disable powersaving

Posted: 05 Nov 2019, 19:37
by Buurman
First checked with

Code: Select all

xset q
and settings are 600sec for dpms and Blankscreen .. seems right ..
put

Code: Select all

xset -dpms s off
in rc.local
reboot .. still going into powersafe :shock:
check with

Code: Select all

 xset q
settings are default 600 again .. looking in rc.local ..settigns ARE THERE :%)
it's doesn't seem to be using the rc.local ?

Disable powersaving

Posted: 05 Nov 2019, 22:38
by ncmprhnsbl
rc.local might be too early in the boot process.. ie. before X has started..
so autostart at the DE level might be better..

Disable powersaving

Posted: 06 Nov 2019, 04:47
by Buurman
i've put it in .config/autostart
in a .desktop launch ..works :blink: