The install works, but this error appear on the terminal when I try to disable the screen saver
ERROR:dbus.proxies:Introspect error on :1.16:/org/freedesktop/ScreenSaver: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/freedesktop/ScreenSaver'
Traceback (most recent call last):
File "/usr/bin/../lib/python2.7/dist-packages/gi/overrides/GLib.py", line 634, in <lambda>
return (lambda data: callback(*data), user_data)
File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 73, in _check_for_process
self.setActivated(True)
File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 100, in setActivated
self.toggleActivated()
File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 114, in toggleActivated
self._performTogglingActions()
File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 128, in _performTogglingActions
self._toggle()
File "/usr/bin/../lib/python2.7/dist-packages/caffeine/core.py", line 146, in _toggle
self.screenSaverCookie = self.iface.Inhibit('net.launchpad.caffeine', "User has requested that Caffeine disable the screen saver")
File "/usr/bin/../lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/bin/../lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
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.UnknownObject: No such object path '/org/freedesktop/ScreenSaver'
The same thing happens in Fedora 20.
The fix is easy.
Just change in core.py
self.susuProxy = bus.get_ object( 'org.freedeskto p.ScreenSaver' , '/org/freedeskt op/ScreenSaver' )
for
self.susuProxy = bus.get_ object( 'org.freedeskto p.ScreenSaver' , '/ScreenSaver')