xdg-screensaver

Jarno Suni sunijarno at gmail.com
Tue Mar 30 20:50:03 CEST 2021


I made a merger request for xdg-utils to add support for
xfce4-screensaver in xdg-screensaver:

https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/38

I couldn't implement all commands supported by xdg-screensaver, yet. I
am not sure which way is the best with xfce4-screensaver. Maybe you
can review it?

I think xdg-screensaver could be used in xflock4. That way there would
not be need to maintain code about different screensavers for locking
at least. Maybe the detection could be removed from
xfce4-power-manager/src/xfce-screensaver.c and from
xfce4-session/xfce4-session/xfce-screensaver.c, too. What do you
think? I actually made the changes to xflock4 locally, and it works,
fine. I even added an Xfconf property for debug file, which can be
used for debugging xflock4 including xdg-screensaver.

On Mon, Mar 29, 2021 at 9:31 AM Jarno Suni <sunijarno at gmail.com> wrote:
>
> Hi,
>
> At least xdg-utils is a dependency of xubuntu-core, but not of xfce4.
> Could it be added as a dependency of xfce4-session? It would simplify
> xflock4. It is currently used as fallback in
> xfce4-session/xfce-screensaver.c
>
> "xdg-screensaver lock" seems to work with light-locker, xscreensaver
> and gnome-screensaver, but not with xfce4-screensaver. I reported it
> at https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/81


More information about the Xfce4-dev mailing list