You are not logged in.
Pages: 1


Debian 12 updated
XFCE4 4.18
What software do I need to lock my screen/session after a given amount of time? I have tried light-locker and xscreensaver, with both installed and only one at a time. I can get my monitor to blank, but that is it.
In power management system is set to hibernate for sleep mode at 15 minutes and to lock when system goes to sleep. Display is set to blank after 2 minutes sleep after 5 minutes and switch off after 10 minutes.
Any and all help appreciated.
Offline


Install xfce4-screensaver. It has the lock screen feature built into it.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


Install xfce4-screensaver. It has the lock screen feature built into it.
xfce4-screesaver is not in the Debian 12 repository, or at least I can't find it.
Offline


I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


fails install because of dependencies.
Offline


Another option, especially if you already use Lightdm is dm-tool. It can be set up with a hot key of scripted.
dm-tool lockI AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


Another option, especially if you already use Lightdm is dm-tool. It can be set up with a hot key of scripted.
dm-tool lock
Thanks. I'll probably try to upgrade to Trixie.
Added later 7 h 52 min 50 s:
I tried compiling but ran into dependency issues.
Offline


I have updated to Trixie and installed xfce4-screensaver.
I can't seem to get the screen to blank or lock.
Offline


Do you still have light-locker installed? If so, remove it. Log out and back in then goto Settings Manager>>xfce Screensaver>>Lock screen tab>>enable lock screen.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


I have updated to Trixie and installed xfce4-screensaver.
I can't seem to get the screen to blank or lock.
Do you still have light-locker installed? If so, remove it. Log out and back in then goto Settings Manager>>xfce Screensaver>>Lock screen tab>>enable lock screen.
Light-locker is not installed.
Enable Lock Screen - On
Lock screen after screensaver is active for 2 minutes
Lock screen with system sleep - On
Offline


Check in the Power Manager settings. There is an option to lock the screen when the system sleeps.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


Lock screen when system goes to sleep is checked.
I have duplicated the settings from my laptop for battery and plugged in. The laptop does not have the xfce4-screensaer and it will blank and lock screen. The desktop will not.
The desktop, with lock screen enabled in xfce4-screensaver enable, will lock screen when selected from the action buttons.
Offline


When you say "action button", do you mean from the Whiskermenu? What are the commands for locking in the whiskermenu?
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


I have no idea what a whiskermenu is. The action button plugin shows in a toolbar/menubar. Mine is at the top of the screen. Click on the username and a menu drops. Click on lock screen and it locks.
Offline


This sounds like Whisker Menu. Can you post a screen shot to be sure.
If it is, you can right click on the icon and select properties then commands. Lock screen should be checked and there will be a command on the right. What is it?
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


The Action Button plugin is the older plugin that is default on upstream installs. It directly issues a dbus command to initiate a suspend. @rick71, it sounds like something might be blocking the other timeout method. As a sanity check, can you post back the output of the following commands:
xfconf-query -c xfce4-power-manager -lv
xfconf-query -c xfce4-session -lv | grep Lock
xfconf-query -c xfce4-screensaver -lv
ps -ef | grep -E 'saver|locker'
xfce4-power-manager --dumpSomething else you can try is to run the power manager in debug mode:
xfce4-power-manager --quit
xfce4-power-manager --debug...wait for the timeout to happen and see what is displayed in the terminal window. Feel free to post back the output you get.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 583.5 KiB (Peak: 600.91 KiB) ]