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 3,733 04-11-2025, 02:53 AM
Last Post: vusra
  Mobian, Suspend, and Audio Playback biketool 0 2,488 12-11-2024, 12:56 AM
Last Post: biketool
  Suspend functionality broken? grump_fiddle_reinstall 4 3,502 12-05-2024, 08:03 PM
Last Post: Kevin Kofler
  Calls 4G not working oliwierzgorniak 2 4,629 08-06-2024, 02:20 PM
Last Post: baptx
  Unable to wake up from suspend xavi92 6 6,411 07-28-2024, 02:48 PM
Last Post: dchang0
  Mobile internet via cellular network mostly not working Anna 18 23,750 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 6,627 01-17-2024, 05:53 PM
Last Post: anonymous
  Suspend on ram user641 2 2,956 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 7,171 09-24-2023, 05:47 AM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 7,104 07-29-2023, 06:24 AM
Last Post: JudgeFudge

Forum Jump:


Users browsing this thread: 1 Guest(s)