Caffeine doesn't work on Xubuntu 14.04

Bug #1315127 reported by Benitron on 2014-05-01
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Caffeine
Undecided
Unassigned

Bug Description

Hello, first thanks for what you do for the community !

I installed Caffeine on Xubuntu 14.04 (with terminal) :
$ sudo add-apt-repository ppa:caffeine-developers/ppa
$ sudo apt-get update
$ sudo apt-get install caffeine

I can not see it in the "Whisker Menu" and tried also to see it in "the old one", but nothing. Furthermore, I cannot launch the preferences anymore.
(I even tried to reboot the computer to see it it was due to the menu)

I can launch Caffeine with a terminal and an icon appears on the "Desktop toolbar" (sorry, I don't kwnow the name in English). From there, I can click on "Disable screensaver", but it doesn't work.
Also, not to be able to go to the preferences to use the "autostart on login" and chosse the softwares is disturbing.

So, is there a way to launch the "Caffeine preferences panel" (even with a terminal)
Is it a known bug ?

Maybe Xubuntu is not supported by Caffeine anyumore ?

Have a nice day !

Ben

bug67 (bug0067) wrote :

I'm venturing a guess that it has something to do with Xubuntu switching to LightLocker and moving away from Xscreensaver.

Raymond (launch-x) wrote :

Here are the errors I get with 2.6.2 I have lightlocker disabled and xscreensaver installed.

Traceback (most recent call last):
  File "/usr/bin/../lib/python2.7/dist-packages/caffeine/main.py", line 98, in on_activate_menuitem_activate
    self.toggleActivated()
  File "/usr/bin/../lib/python2.7/dist-packages/caffeine/main.py", line 74, in toggleActivated
    self.Core.toggleActivated()
  File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 125, in toggleActivated
    self._performTogglingActions()
  File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 138, in _performTogglingActions
    self._toggle()
  File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 149, in _toggle
    self.susuProxy = bus.get_object('org.freedesktop.ScreenSaver', '/org/freedesktop/ScreenSaver')
  File "/usr/bin/../lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/bin/../lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/bin/../lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/bin/../lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/bin/../lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ScreenSaver was not provided by any .service files

Bryan Jensen (5-launchpad-r) wrote :

Did all the same and get the same results as Ben and Raymond.

Benitron (benlarcher-1) wrote :

As for me, https://launchpadlibrarian.net/159439047/caffeine_2.5_all.deb doesn't seem to work...

To overcome it, I have created a launcher (with light-locker-settings) on the desktop and draged it to the upper toolbar.

Have a nice day !

Reuben Thomas (rrt) wrote :

There are no preferences in Caffeine 2.6 and later. To autostart Caffeine on login, use your desktop's startup application configuration system (e.g. gnome-session-properties in GNOME).

Caffeine 2.6 only works with a few screensavers that implement the freedesktop.org D-Bus spec; I'm working to fix this for 2.7.

Changed in caffeine:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers