https://bugs.kde.org/show_bug.cgi?id=424288

--- Comment #2 from basjetim...@yahoo.com ---
(In reply to David Edmundson from comment #1)
> You want something like:
> 
> https://gist.githubusercontent.com/fxthomas/9bdfadd972eaf7100b374042faac28c2/
> raw/94590f2ff10cfb59492c0995fba9a44ec9179691/gnome-inhibit.py
> 
> but with the service names and paths replaced
> 
> It's less work than whatever you were doing before.
> 
> Maybe I should add a kde-inhibit to kde-cli-tools
> We have a similar request for nightmode

Thanks for the reply. I do not think that is less work than what I was doing
before. I used to just prepend a single line to any script to make it prevent
sleep. Now, I need write my scripts, then write another script that calls
'inhibit.py myscript.sh'. Or, create an alias, but then myscript would not work
portably if the alias does not exist in another machines env.
Also, suddenly all my scripts depend on python? That's not good.

I'm not sure I understand the reason for this change of behavior. If some
programs exited without releasing their inhibition, surely that is a bug in
that program not in powerdevil?

Similarly, this is now marked as not a bug, but isn't the command 'qdbus
org.freedesktop.PowerManagement.Inhibit
/org/freedesktop/PowerManagement/Inhibit Inhibit string:"Inhibit" string:"User
requested"' correct? And isn't it supposed to prevent sleep? I feel like the
fix for 423131 is a bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to