Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-06-20 00:12:26

ZmJmZGE2YWIzNWEwZTgxNDI2Y
Member
Registered: 2024-10-24
Posts: 14
LinuxChrome 137.0

[SOLVED] Lightdm Screen Lock Timer

Hi I tried searching online for a bit to see how I can adjust the time for lightdm to lock the screen after my laptop has been idle but could not find anything.  As stated I am using lightdm to lock my screen after xscreensaver was giving me issues.  The issue with the xscreensaver was that after closing and opening the laptop lid the screen would be frozen with the exception that I could move the mouse.  I was able to get out of the screen lock by hitting ALT + CTRL + F1 and logging in and executing the command killall xscreensaver then hitting ALT + F7 to go back into GUI mode.

Any suggestions/solutions where I can adjust this setting?  I looked in the file lightdm.conf but I don't want to mess around with the settings. 

Also I am using Debian 12.11 XFCE.  I tried looking for xfce4-screensaver but it looks like its not installed.  Maybe if there is a way I can use an xfce screensaver that would be even better.

Last edited by ZmJmZGE2YWIzNWEwZTgxNDI2Y (2025-06-20 16:46:08)

Offline

#2 2025-06-20 10:14:18

eriefisher
Wanderer
From: ON, Canada
Registered: 2008-10-25
Posts: 746
LinuxFirefox 139.0

Re: [SOLVED] Lightdm Screen Lock Timer

Goto Settings>>Xfce4 Screensaver>>Lock tab and enable the lock screen. Down below you should see a line "logout command" and the time setting.


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

Offline

#3 2025-06-20 12:44:46

ZmJmZGE2YWIzNWEwZTgxNDI2Y
Member
Registered: 2024-10-24
Posts: 14
LinuxChrome 137.0

Re: [SOLVED] Lightdm Screen Lock Timer

Ok update.

The program xfce4-screensaver is not on my system so I tried installing it from the link below.  Too complicated.  It lists a bunch of files I need to build then install.  I was unable able to install four of the files so I was unsuccessful with that.

https://docs.xfce.org/apps/xfce4-screen … stallation

I reinstalled xscreensaver and tried to fix the xscreensaver issue and found this post from this forum:
https://forum.xfce.org/viewtopic.php?pid=74869

Followed the directions and did the following:

cd .config/xfce4/xfconf/xfce-perchannel-xml
mv displays.xml displays.xml.bak
mv xfce4-power-manager.xml xfce4-power-manager.xml.bak
mv xfce4-session.xml xfce4-session.xml.bak

I didn't log out of any session or anything like that as per the instructions in the post just simply executed the above commands then closed my laptop lid and opened it up and now everything is working good.  I need to restart my laptop to see if the fix will remain but looks like the issue has been resolved and I will mark this thread as solved.

Quote from the above thread:
"Thanks ToZ!"

Last edited by ZmJmZGE2YWIzNWEwZTgxNDI2Y (2025-06-20 16:42:42)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 546.09 KiB (Peak: 549.61 KiB) ]