Comment 7 for bug 1586710

Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :

First, note that in:
 /usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py
line 234 also needs to be changed from "get_pid_list" to "pids"

Note also that light-locker settings still does not start up:

"
scott@scott-Asus-M2N68-AM-Plus:~$ /usr/bin/light-locker-settings
/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py:29: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GLib, Gio
Traceback (most recent call last):
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 697, in <module>
    main = LightLockerSettings()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 98, in __init__
    self.init_settings()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 440, in init_settings
    settings = self.gsettings_get_settings()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 276, in gsettings_get_settings
    settings['light-locker-enabled'] = self.get_light_locker_enabled()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 499, in get_light_locker_enabled
    keyfile = self.get_light_locker_autostart()
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 384, in get_light_locker_autostart
    self.get_autostart('light-locker.desktop', defaults)
  File "/usr/share/light-locker-settings/light-locker-settings/light-locker-settings.py", line 358, in get_autostart
    GLib.KeyFileFlags.KEEP_TRANSLATIONS)
GLib.Error: g-key-file-error-quark: Valid key file could not be found in search dirs (2)
"

I suppose this is YAB (Yet Another Bug). Is THIS bug known by anyone?

-Scott Jacobs