Caffeine broke on Ubuntu 13.04

Bug #1174400 reported by Steven Roose
This bug report is a duplicate of:  Bug #1239935: Consider using xdg-screensaver. Edit Remove
158
This bug affects 36 people
Affects Status Importance Assigned to Milestone
Caffeine
Confirmed
Undecided
Unassigned

Bug Description

The Caffeine app stopped working like it should after I upgraded to Ubuntu 13.04.

Tags: raring
Revision history for this message
Dac Chartrand (conner-bw) wrote :

I also have this issue. 13.04

Steps to reproduce:
While In battery mode (ie. lapotp not plugged in) select "Disable Screensaver" from the caffeine menu.

Expected:
No screensaver.

Actual:
Screen dims every few minutes, screensaver.

Revision history for this message
Robert Lane (imperial-phantom) wrote :

I also have this issue. 13.04
This issue affects both manual activation and automatic based on applications. This affects both my desktop and laptop systems.

Steps to reproduce:
Select "Disable Screensaver" from the caffeine menu.

Expected:
No screensaver.

Actual:
Screen dims every few minutes, screensaver.

Revision history for this message
Salem (salemsaberhagen) wrote :

In my 13.04 it doesn't work also. If I add a specific application (ex: VLC, Chromium) it works.

From the terminal I only get this info:
(...)
(14 Jul 2013) 16:43:11 ERROR: Exception: 'NoneType' object has no attribute 'url'
(14 Jul 2013) 16:43:15 INFO: Caffeine has detected that the process 'vlc' is running, but will NOT auto-activate as Caffeine has already been activated for a different reason.
(...)

There is some way to debug this?

Revision history for this message
Dac Chartrand (conner-bw) wrote :

This still doesn't work on Ubuntu 13.10

For the record, the developer abandoned the project in May.

  https://answers.launchpad.net/caffeine/+question/229683

So this bug will never be fixed IMHO. :(

Code is here:
  http://bazaar.launchpad.net/~caffeine-developers/caffeine/main/files/head:/caffeine/

Problem areas are probably here (_detectScreensaverAndPowersavingType, _performTogglingActions)
  http://bazaar.launchpad.net/~caffeine-developers/caffeine/main/view/head:/caffeine/core.py#L498

And probably here:
  http://bazaar.launchpad.net/~caffeine-developers/caffeine/main/view/head:/caffeine/flash_detect.py

"Can't someone else do it?" -Homer Simpson

PS: If anyone from the future does look at this please see Bug #1239935, Ie. "xdg-screensaver provides generic interface to control screensaver and screen power management. Why not use it instead of writing different code for all DEs? Thus, you'll be able to make caffeine work with other DEs, such as Cinnamon."

NoBugs! (luke32j)
Changed in caffeine:
status: New → Confirmed
Revision history for this message
Reuben Thomas (rrt) wrote :

I have taken over maintenance of Caffeine, and will be attempting to fix this bug for the next release. (For what it's worth, I have Caffeine working happily with 13.10, but I use xscreensaver.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.