inhibit suspend mode - 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: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130) +---- Thread: inhibit suspend mode (/showthread.php?tid=14180) |
inhibit suspend mode - Rainer - 06-12-2021 Hello again, Is there any way to configure suspend? My alarm didn't go off yesterday, I found a missed call, and I have my perennial problem of not being able to play more than 1 song before manjaro-arm phosh beta 11 goes into suspend mode. Thanks. RE: inhibit suspend mode - kqlnut - 06-12-2021 (06-12-2021, 08:41 AM)Rainer Wrote: Hello again,You could just disable automatic suspend in the power settings (there are different settings for when on battery and when connected to a charger; suspend is already inhibited by default in the latter case). According to this discussion, you can also achieve this with gnome-session-inhibit: Code: gnome-session-inhibit command # inhibit suspend and keep screen on until command finishes Unfortunately this will inhibit suspend as long as an app is running, not just as long as e. g. music is playing. So make sure to close the app to reactivate suspend (note that some apps may keep running in the background even though their windows are closed). For alarms it wouldn't be feasible to have the phone not suspend at all. Use wake-mobile instead, it's an alarm app that will ring even if the phone is suspended. Calls should always wake up the phone (but I believe that sometimes I believe I have the problem that the ringtone isn't audible). RE: inhibit suspend mode - Rainer - 06-16-2021 thanks for the info. looked again and found that inhibit suspend option in settings-power. |