By installing the light-locker package, and then running light-locker & in the terminal, I was then able to successfully close the lid and have my screen lock. Also after reboot, I never had to manually run light-locker, it automatically runs, is manjaro doing this explicitly?
I think it would be beneficial to improve this so that the new user experience is a little better by having light locker already installed.
The file .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml contains the line which specifies the call to light-locker-command.
To be honest I don’t know a lot about xfce, but to me this would imply that we’re trying to use light-locker ? If we’re not trying to use light-locker out of the box, then what are we trying to use?
On my computer, by default without changing any manjaro settings, when you close the lid, it’s specified in the power settings that it will lock the screen.
When I re-open the lid, I’m always confronted with a black screen with my cursor on it, after a second, it goes away and then I see the login screen. Do others get this?
I think the black screen is an artifact of light-locker, which makes my login feel sluggish, maybe using another locker is better anyways?
I also just ran an experiment, if we replace the string light-locker with xfce4-screensaver in the specified file, we can lock the screen successfully without any extra software. By doing this, note that the theme of the lock screen doesn’t match the initial login screen after a reboot (which I believe is lightdm)
Probably maintainer oversight.
As mentioned in this and the linked threads (And more) … obviously the light-locker packages are not included. And this was done deliberately.
It would seem that the expectation is to have xflock4 use xfce4-screensaver (the thing that comes with xfce) … but whether the configuration is correct, again, I cannot say.