Is there a way to inhibit idle ie screensaver

For discussion of topics specific to MythTV on linux
Post Reply
weff
Junior
Posts: 22
Joined: Sun Nov 26, 2017 5:46 am
Australia

Is there a way to inhibit idle ie screensaver

Post by weff » Fri Sep 18, 2020 4:28 am

So I'm watching a recording on the laptop and the blasted screensaver cuts in.

This is on sway/wayland using swayidle to invoke the screensaver.

kodi and mpv both emit an idle-inhibit signal when playing and stop the screensaver cutting in. Does mythtv have such a thing?

I thought of putting the following into .config/sway/config...

Code: Select all

for_window [app_id="mythfrontend"] inhibit_idle fullscreen
... but mythfrontend is always fullscreen so basically it inhibits the screensaver all the time even if I'm not playing a recording.

It seems the only option is to disable the screensaver completely.

weff
Junior
Posts: 22
Joined: Sun Nov 26, 2017 5:46 am
Australia

Re: Is there a way to inhibit idle ie screensaver

Post by weff » Sun Sep 20, 2020 9:23 am

evidently not!

User avatar
paulh
Developer
Posts: 544
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Is there a way to inhibit idle ie screensaver

Post by paulh » Sun Sep 20, 2020 3:10 pm

MythTV does try to inhibit the screensaver when playing back a recording, video, play music etc. and works on most systems just fine.

No idea what sway is but I believe Wayland is only partially supported even in current master so it's not surprising some things don't work as expected. It would be best to open an Issue on Github so the right people get to know there is a problem.

weff
Junior
Posts: 22
Joined: Sun Nov 26, 2017 5:46 am
Australia

Re: Is there a way to inhibit idle ie screensaver

Post by weff » Sun Sep 20, 2020 11:00 pm

Thanks for the info, Paul.

'sway' is a pretty popular wayland compositor.

I will do some more testing using Gnome and then wander over to github to report my findings.

User avatar
paulh
Developer
Posts: 544
Joined: Thu Feb 06, 2014 6:09 pm
Great Britain

Re: Is there a way to inhibit idle ie screensaver

Post by paulh » Tue Sep 22, 2020 12:21 pm

This issue is being tracked on https://github.com/MythTV/mythtv/issues/216 but requires https://github.com/MythTV/mythtv/issues/218 being resolved first.

Post Reply