xdg-screensaver
Jarno Suni
sunijarno at gmail.com
Tue Mar 30 21:23:37 CEST 2021
It would also be possible to set xfce4-screensaver the fallback
screensaver for XFCE in xdg-screensaver, if no screensaver daemon is
running and if possible user-given LockCommand failed before that in
xflock4. Daemon would be started in xdg-secreensaver. *
The simple fallback lockers in xflock4 would be only used, if
xfce4-screensaver was not installed.
*) I do not know, if that is good, though: Maybe we want to run
LockCommand only if xdg-screensaver lock fails. Then there would be
better chance there are not conflicting lockers used.
On Tue, Mar 30, 2021 at 9:50 PM Jarno Suni <sunijarno at gmail.com> wrote:
>
> 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