You are not logged in.

#1 2012-12-16 09:05:13

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

[SOLVED] disable suspend

Hello,

Arch is running on a laptop, I have not installed any power management software.

After 10 mins Arch suspends itself, I tried to change this in system settings (Suspend when ianctive for -> Don't suspend) and also

 xset -dpms

and I checked the flag is "no" here:

/usr/share/polkit-1/actions/org.freedesktop.upower.policy
<allow_inactive>no</allow_inactive>

but nothing worked, it still suspends after 10 mins. SMplayer prevents this but DeadBeef for example not.

Can someone help?

Last edited by totolotto (2012-12-16 20:25:45)

Offline

#2 2012-12-16 16:08:49

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [SOLVED] disable suspend

Perhaps you have such settings in your BIOS setup? Check your BIOS.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2012-12-16 18:26:52

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] disable suspend

Actually there is a "block sleep" option in power management, but enabling it did not solve the problem.

Offline

#4 2012-12-16 20:25:25

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] disable suspend

Okay I am not sure if one or all lines did the trick but

1. block sleep in bios enabled
2. xset s 0 0
3. xset -dpms 

solved the problem.

Last edited by totolotto (2012-12-20 07:44:20)

Offline

#5 2012-12-20 07:46:36

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: [SOLVED] disable suspend

It works but everytime the system restarts dpms is on again, so I had put these commands in Openbox autostart file. Is there a more elegant way how to disable dpms system-wise pemanently?

Offline

Board footer

Powered by FluxBB