[LAU] nosuspend - avoid computer suspend as long a app is running

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat Jul 1 11:02:25 UTC 2017


On Sat, 1 Jul 2017 10:53:37 +0200, Hermann Meyer wrote:
>Am 01.07.2017 um 10:35 schrieb Ralf Mardorf:
>> On Sat, 1 Jul 2017 09:22:05 +0200, Hermann Meyer wrote:  
>>> nosuspend allows users to avoid suspend or shutdown even on
>>> privileged level (e.g. root)  
>> Pardon, I missed that. What is it good for? The polkit rules I posted
>> allow to do an action with root privileges only. I guess an admin
>> knows what she's doing.
>>  
>
>My system goes into suspend after 10 min idle. That's how I've set it 
>up, and that is what I wont, usually.
>Sometimes, I don't wont that, . .
>The system suspend signal comes with a higher priority then the users 
>inhibitor, hence, running systemd-inhibit as user will simply be
>ignored when it comes to the automatic setted systemd suspend.
>Setting the inhibitor with 0/root flag avoid that.

Thanks for the clarification.

-- 
Vote for apulse!
echo $(w3m https://aur.archlinux.org/packages/apulse |grep 'Votes:    ')
Votes: 81                         Updated: Sat Jul  1 13:02:21 CEST 2017


More information about the Linux-audio-user mailing list