![]() |
suspend inhibit no longer working - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: suspend inhibit no longer working (/showthread.php?tid=17036) |
suspend inhibit no longer working - jsch - 07-20-2022 Listening to podcasts using gnome-podcasts (flatpak) was working fine until last weekend. It no longer prevents the system from suspend. The log shows Code: xdg-desktop-por[1103]: A backend call failed: Inhibiting other than idle not supported Between Friday and Monday ~40 packages were updated. Any idea where to start hunting this issue? List of updated (and added) packages Code: bat:arm64 0.21.0-2 RE: suspend inhibit no longer working - mdk - 08-28-2022 Looks like previously `gnome-session-inhibit` was enough to prevent suspend, and now `gnome-session-inhibit --inhibit suspend` is needed. RE: suspend inhibit no longer working - 3x5co - 10-23-2022 `gnome-session-inhibit --inhibit suspend` does indeed work for this purpose, but I don't think it's enough to inhibit suspend when the program is running. You should be able to pause the program and have your phone go to sleep, without completely quitting the program. Sguard really is the perfect solution, as it only inhibits suspend when audio is playing. However, I can't get it to work: https://codeberg.org/jayvii/pinephone-scripts/src/branch/main/sguard/sguard.sh RE: suspend inhibit no longer working - LibrePhoneUser - 10-23-2022 (10-23-2022, 05:39 AM)3x5co Wrote: Sguard really is the perfect solution, as it only inhibits suspend when audio is playing. However, I can't get it to work: sguard relied on a Pulseaudio command, so it no longer works now that Debian has switched to PipeWire. However, this is an easy fix. In sguard’s code, replace this line: Code: pacmd list sinks | grep -E "(s|S)tate: RUNNING$" with this: Code: pactl list sinks | grep -E "(s|S)tate: RUNNING$" I emailed sguard’s developer about this months ago, but received no reply. |