Hi, last week or so someone raised the topic around org.freedesktop.ScreenSaver https://specifications.freedesktop.org/idle-inhibit-spec/latest/ch05.html
I created one application (I will publish on my TGW projects page soon) implementing the interface and let it run over time while watching now and then videos on youtube or else where in Firefox. Today I fell asleep while watching - haha, getting older :) and when I checked the output, I saw following [1], which tells me that indeed video applications are using this interface.
I also saw a lot of stuff around screen saver in various applications (for example tdepowersave (just grep screensaver or screen in applications). I saw there many things that I think, might be not really contemporary and hence not needed any more. I want to discuss here that path forward. AFAIR we were talking about doing something about automating dbus interface usage (similar to newer Qt4 and Qt5). I think it was around hwcontrol (tdelibs/tdecore/tdehw) In any case I think, we have to do something as more and more interfaces are defined and more and more services implement those interfaces. Can we have an update on the topic?
BR
[1] output of the application debug log
[2024/05/27 17:34:01.787] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 17:34:03.550] ScreenSaverInterfaceImpl::UnInhibit: cookie(7), application(), reason(video-playing) [2024/05/27 17:34:09.569] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 17:34:12.422] ScreenSaverInterfaceImpl::UnInhibit: cookie(8), application(), reason(video-playing) [2024/05/27 17:34:17.902] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 18:05:19.272] ScreenSaverInterfaceImpl::UnInhibit: cookie(9), application(), reason(video-playing) [2024/05/27 18:23:30.728] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 18:23:32.185] ScreenSaverInterfaceImpl::UnInhibit: cookie(10), application(), reason(video-playing) [2024/05/27 18:23:32.890] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 18:23:33.134] ScreenSaverInterfaceImpl::UnInhibit: cookie(11), application(), reason(video-playing) [2024/05/27 18:45:47.290] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 18:45:47.579] ScreenSaverInterfaceImpl::UnInhibit: cookie(12), application(), reason(video-playing) [2024/05/27 18:46:40.388] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 18:51:57.562] ScreenSaverInterfaceImpl::UnInhibit: cookie(13), application(), reason(video-playing) [2024/05/27 18:56:07.655] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 18:58:43.041] ScreenSaverInterfaceImpl::UnInhibit: cookie(14), application(), reason(video-playing) [2024/05/27 19:01:40.704] ScreenSaverInterfaceImpl::Inhibit: Reason: video-playing [2024/05/27 19:01:41.081] ScreenSaverInterfaceImpl::UnInhibit: cookie(15), application(), reason(video-playing)
deloptes via tde-devels wrote:
Hi, last week or so someone raised the topic around org.freedesktop.ScreenSaver https://specifications.freedesktop.org/idle-inhibit-spec/latest/ch05.html
I created one application (I will publish on my TGW projects page soon) implementing the interface and let it run over time while watching now and then videos on youtube or else where in Firefox.
The repo https://mirror.git.trinitydesktop.org/gitea/deloptes/tdedbusscreensaver
Unfortunately when screensaver is stopped somehow powersave kicks in and I do not know why. This must be the spaghetti in powersave and screensaver.
Let me know what you think
BR