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...? ** Patch added: "light-locker-settings-ignore-error.diff" https://bugs.launchpad.net/light-locker-settings/+bug/1327835/+attachment/5198461/+files/light-locker-settings-ignore-error.diff ** Also affects: light-locker-settings (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1327835 Title: light-locker-settings reverts to "never" after reboot. To manage notifications about this bug go to: https://bugs.launchpad.net/light-locker-settings/+bug/1327835/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs