suspend inhibit no longer working
#3
`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-sc.../sguard.sh
  Reply


Messages In This Thread
suspend inhibit no longer working - by jsch - 07-20-2022, 11:26 AM
RE: suspend inhibit no longer working - by mdk - 08-28-2022, 03:45 PM
RE: suspend inhibit no longer working - by 3x5co - 10-23-2022, 05:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New camera app gnome-snapshot working on trixie? vusra 4 975 04-11-2025, 02:53 AM
Last Post: vusra
  Mobian, Suspend, and Audio Playback biketool 0 878 12-11-2024, 12:56 AM
Last Post: biketool
  Suspend functionality broken? grump_fiddle_reinstall 4 1,287 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  Calls 4G not working oliwierzgorniak 2 3,042 08-06-2024, 02:20 PM
Last Post: baptx
  Unable to wake up from suspend xavi92 6 4,240 07-28-2024, 02:48 PM
Last Post: dchang0
  Mobile internet via cellular network mostly not working Anna 18 17,264 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 4,140 01-17-2024, 05:53 PM
Last Post: anonymous
  Suspend on ram user641 2 1,868 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 4,120 09-24-2023, 05:47 AM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 4,613 07-29-2023, 06:24 AM
Last Post: JudgeFudge

Forum Jump:


Users browsing this thread: 1 Guest(s)