Comment 4 for bug 1327835

Revision history for this message
Rainer Müller (raimue) wrote :

The problem is that light-locker-settings fails if the expected file does not already exist. There is a simple workaround by creating an empty file in that location before launching light-locker-settings:

    $ touch ~/.config/autostart/screensaver-settings.desktop
    $ light-locker-settings

I am also attaching a patch that kind of solves this problem by masking any error that the load function might raise. I do not really understand the GLib python bindings here, though. Apparently it is supposed to return an error code, but at the same time it always raises a generic GLib.Error, so the return value cannot be checked at all...?