You are not logged in.

#21 2025-09-05 07:12:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Screen-locking for Xorg and Wayland

johnraff wrote:

OK enough already.

Well, that was true, but...

I've replaced light-locker with xfce4-screensaver.

No, sorry. (Is anyone still here?)

Latest discovery is that lightDM ships the command 'dm-tool lock'.
The lock screen is exactly what we're getting with light-locker, so that was coming from lightDM in fact, and light-locker was triggering it. No extra screenlocker package needed. The only requirement is to use lightDM as display manager.

We just have to keep the xss-lock daemon running to pick up the system stuff like dbus, and set the lock command in bl-exit to 'dm-tool lock'. And, it works just as well on X11 or Wayland!
EDIT: "dm-tool lock" gives the illusion of working on wayland, but the ctrl+F8 TTY remains wide open. No problem, just go back to gtklock for Wayland.

All the lock commands work, and xfce4-power-manager's lockscreen timeout too.

Makes bunsen-exit somewhat simpler. smile

Last edited by johnraff (2025-09-05 09:49:09)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#22 Yesterday 05:27:25

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Screen-locking for Xorg and Wayland

Sorry that was another side-alley. dm-tool looked great but it just doesn't do the necessary job. Even on X11, the "locked" session can be accessed just by switching back to VT7.
eg https://bugs.launchpad.net/ubuntu/+sour … ug/1806961

Let's go with xfce4-screensaver for now. It's a bit complicated but at least it works.

Last edited by johnraff (Yesterday 05:38:56)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#23 Yesterday 10:46:15

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Screen-locking for Xorg and Wayland

bunsen-exit 13.3-1 has been uploaded.
People on Carbon, please upgrade and try it out.
You'll have to log out and back in twice to see the changes, the first time so bl-user-setup can import some new user config files from skel/ and the second time so that xfce4-screensaver can be launched.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#24 Today 02:21:35

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Screen-locking for Xorg and Wayland

Upgraded to bunsen-exit 13.3.1-1
The xfce4-screensaver autostart launcher has been moved from ~/.config/autostart to /etc/xdg/autostart so it will be cleaned up if bunsen-exit is uninstalled. ~/.config/autostart/xfce4-screensaver can now be safely removed if it exists. Even if bunsen-exit were to be removed, the remaining .xml files in xfconf/xfce-perchannel-xml would do no harm.

Last edited by johnraff (Today 08:33:51)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#25 Today 08:23:00

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Screen-locking for Xorg and Wayland

running

DSDYYvMt.png

Offline

Board footer

Powered by FluxBB