[I have retitled this bug and will mark other bugs as duplicates, as this issue is common and obviously needs a home.]
Caffeine previously contained code to work with lots of different screensavers. I removed this code in 2.5. Unfortunately, it seems that I was over-optimistic: I thought that most modern desktops implemented the freedesktop idle inhibition spec, but it turns out that they don't.
Paulius Vitkus kindly provided a patch to reintroduce a lot of this support:
After some discussion, I concluded that the best way to implement this support was to do so in xdg-screensaver, and have Caffeine use just xdg-screensaver. This keeps complexity out of Caffeine, and puts it where other applications and desktops can benefit and contribute, in xdg-utils.
I would be very happy to accept a patch which makes Caffeine use xdg-screensaver (and only xdg-screensaver); and similarly, I'd be very happy to help get a patch for xdg-screensaver into xdg-utils. (In particular, xdg-screensaver does not currently support the freedesktop idle inhibition method, in any flavour). Conversely, I won't accept patches which add all this functionality back into Caffeine.
[I have retitled this bug and will mark other bugs as duplicates, as this issue is common and obviously needs a home.]
Caffeine previously contained code to work with lots of different screensavers. I removed this code in 2.5. Unfortunately, it seems that I was over-optimistic: I thought that most modern desktops implemented the freedesktop idle inhibition spec, but it turns out that they don't.
Paulius Vitkus kindly provided a patch to reintroduce a lot of this support:
https:/ /code.launchpad .net/~behda/ caffeine/ trunk/+ merge/201304
After some discussion, I concluded that the best way to implement this support was to do so in xdg-screensaver, and have Caffeine use just xdg-screensaver. This keeps complexity out of Caffeine, and puts it where other applications and desktops can benefit and contribute, in xdg-utils.
I would be very happy to accept a patch which makes Caffeine use xdg-screensaver (and only xdg-screensaver); and similarly, I'd be very happy to help get a patch for xdg-screensaver into xdg-utils. (In particular, xdg-screensaver does not currently support the freedesktop idle inhibition method, in any flavour). Conversely, I won't accept patches which add all this functionality back into Caffeine.
You can find the xdg-utils repository at: http:// cgit.freedeskto p.org/xdg/ xdg-utils/ and its bug list at https:/ /bugs.freedeskt op.org/ buglist. cgi?quicksearch =xdg-utils& list_id= 388735