Package Details: xscreensaver-dbus-screenlock 3-2

Git Clone URL: (read-only, click to copy)
Package Base: xscreensaver-dbus-screenlock
Description: DE neutral integrated screen-locking with xscreensaver
Upstream URL:
Licenses: GPL
Conflicts: gnome-screensaver, light-locker
Provides: gnome-screensaver, light-locker
Submitter: quequotion
Maintainer: quequotion
Last Packager: quequotion
Votes: 1
Popularity: 0.131800
First Submitted: 2015-10-23 17:08
Last Updated: 2017-12-03 20:24

Required by (13)

Sources (7)

Latest Comments

quequotion commented on 2017-12-03 20:18

EDIT: siiiiiiiiggggggghhhhhhhh.... nevermind, the dbus services are fine; the .desktop method also works fine, just the "lock" button on the session indicator I've been using doesn't work (how it used to?).

~~apparently wingpanel-indicator-session-git is no longer using either freedekstop nor gnome methods to initiate the screensaver; i'll figure it out later when I don't feel like puking on it.~~

EDIT: As of now, upstream wingpanel-indicator-session is using the GNOME dubs interface (stopped working again for a while, as above).

Theoretically, xscreensaver-dbus-screenlock provides daemons that listen on both methods (which I've adapted into a new compiz screensaver that I need to publish)...

quequotion commented on 2017-05-15 05:00

As of version 2-1, I'm going with your idea.

quequotion commented on 2017-04-01 16:23

>stubbornly autostarting screensavers through dbus
I'm not sure what you mean by this. Which DE did you have this problem with?

Do you mean that it starts its own screensaver service that overrides the one created by the python script, that it never runs the xdg autostart, or something else?

Either way, nice idea! I'd like to cover all bases. The only downsides to including this in the package I can think of are the possibility another package provides that file and the need for two (freedesktop vs gnome) files. As I understand it the .service files do not keep a service running, but act as a socket to activate a service on-demand. It shouldn't cause any meaningful waste of resources to have them installed, even if they aren't necessary (it could even be more efficient than xdg autostart--I'll do some tests and come back).

EDIT: Using /usr/share/dbus-1/services/org.{freedesktop,gnome}.ScreenSaver.service instead of the xdg autostarts works just as well and causes no problems for me.

Is there a particular reason you wouldn't recommend putting this in the package?

pteromys commented on 2017-03-28 03:55

For an alternative method to autostart this script (don't add this to the package; this is just for users whose DEs are stubbornly autostarting screensavers through dbus), create /usr/share/dbus-1/services/org.freedesktop.ScreenSaver.service with the following content:

[D-BUS Service]

quequotion commented on 2016-11-14 20:04

Two scripts, two .desktop files. Should work in either freedesktop or gnome DEs

quequotion commented on 2015-11-15 22:23

Now emulating org.freedesktop.ScreenSaver (light-locker) instead of org.gnome.ScreenSaver (gnome-screensaver) because this is what wingpanel-indicator-session expects.

Edit and swap in the commented lines if you need to emulate gnome-screensaver. If you save the file in /usr/local/sbin/ it will not be overwritten by future upgrades.