Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaffeine inhibits xscreensaver #1

Open
Eggburt opened this issue Jun 17, 2020 · 1 comment
Open

Kaffeine inhibits xscreensaver #1

Eggburt opened this issue Jun 17, 2020 · 1 comment

Comments

@Eggburt
Copy link

Eggburt commented Jun 17, 2020

I'm running Version 2.0.15, under MX linux 19 AHS, and it seems to inhibit the running of XScreensaver. I can understand the program doing this while in full screen mode but not otherwise. Is it possible to have some sort of compromise with a toggle to turn this on or off?
Another related issue is that XScreensaver is still inhibited even after closing Kaffeine, although this seems to be inconsistent.

@mchehab
Copy link
Owner

mchehab commented Dec 23, 2020

The actual logic is at src/mediawidget.cpp, at MediaWidget::checkScreenSaver().

It should be disabling the screen saver if:

  • something is being displayed;
  • the screen is visible.

The above conditions are re-checked on every 50 seconds.

It doesn't matter if the someone is watching a media in full screen mode or not: Kaffeine should prevent the screensaver to happen at media play time.

Another related issue is that XScreensaver is still inhibited even after closing Kaffeine, although this seems to be inconsistent.

Yeah, this may happen with the current code. Added a patch that should fix it:

76710f3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants