But this is bad, since xdg-screensaver script from xdg-utils package thinks there is gnome-screensaver running. Other commands for xdg-screensaver do not work, as light-locker is supposed to work with Xserver screensaver, right? xdg-screensaver should be able to detect that light-locker, not gnome-screensaver is running.
light-locker 1.8.0
If light-locker is running,
dbus-send --print-reply --dest=org.freedesktop.DBus \ /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner \ string:org.gnome.ScreenSaver
exits with 0 status. And command
dbus-send --session \ --dest=org.gnome.ScreenSaver \ --type=method_call \ /org/gnome/ScreenSaver \ org.gnome.ScreenSaver.Lock
locks screen.
But this is bad, since xdg-screensaver script from xdg-utils package thinks there is gnome-screensaver running. Other commands for xdg-screensaver do not work, as light-locker is supposed to work with Xserver screensaver, right? xdg-screensaver should be able to detect that light-locker, not gnome-screensaver is running.