Power management control using inhibit session idling
-
Let me first say, big thanks for keeping up the good work with Strawberry Player!
I'm running the Strawberry music player with Linux Mint Cinnamon using a HDMI connect out to my AV-Receiver. The Power Management is enabled to turn off the screen when inactive for some time. This obviously is making the sound servers switching to another available output, when the Display Port attached screen output goes to power saving, basically turning off all video out of my GPU.
Now I'd like that NOT to happen when I'm listening to music with Strawberry player.
Reading through the forums, a possible workaround for a KDE based environment can be that python script for launching Strawberry:
https://forum.strawberrymusicplayer.org/topic/280/power-options-not-inhibiting-sleep?_=1715408611548&lang=en-US
However, the script is throwing me some DBus Exception errors.I noticed that Celluloid-MPV based player on Mint is inhibiting the power management perfectly, meaning only preventing the screensaver and screen turn off when there is music or video played back. When having the player on pause or is running without any playback the power management is NOT inhibit. The same works with Firefox during video playback.
I wounder if the inhibit session idling techniques could be implement to Strawberry music player?