0

I cannot manage to lock the screen automatically after a given time.
I running gnome 3.22.2 with lightdm

I found quite confusing the configuration as it is spread across many setting/app:

  1. Settings -> Power
    • Blank screen (time)
  2. Settings -> Privacy
    • Screen Lock (yes/no)
  3. Light locker
    • Blank screen after (time)
    • Switch screen off after (time)

I have configured startup applications:

  • Light Locker
  • xset s 60 dpms 420 0 0

What is wrong ?
How I am suppose to configure all above settings ?

UPDATE
On Antergos forum I got this answer:

Under lightDM all you have to do is disable all native Gnome power settings and use only the Light Locker ones That is, unless you prefer to use GDM instead.

So I set

  • Power: Black screen NEVER
  • Privacy: Screen Lock NO
  • then set light locker timers, the screen lock correctly

New problem
… but then if I open again light locker my setting are gone and the screen stop to lock correctly

enter image description here

5
  • Are you using gdm or any other login manager?
    – Ceda EI
    Nov 19, 2016 at 14:25
  • as I wrote in the question I am using lightdm Nov 20, 2016 at 4:08
  • It will be easier to shift to gdm other than to follow a workaround... But if you wish to keep using lightdm I can post a workaround
    – Ceda EI
    Nov 20, 2016 at 5:00
  • @CedaEI go on please, I want to stay on lightdm if possible Nov 20, 2016 at 6:14
  • Using lightdm with screen lock is unsecure. If you still want to use lightdm with screenlock, you can use dm-tool lock and create some scripts to lock screen with it.
    – littleguga
    May 30, 2020 at 4:40

1 Answer 1

0

This answer on UNIX and Linux will help you out. Synopsis : you would need to use gnome-screensaver package. You need to manually install gnome-screensaver package

6
  • light locker is fork of gnome-screensaver, gnome-screensaver has been dropped after gnome 3.6 ( you should read the link you posted ) Nov 24, 2016 at 15:11
  • You can manually install gnome-screensaver
    – Ceda EI
    Nov 25, 2016 at 13:26
  • did you try that ? is it fixing the problem ? Nov 26, 2016 at 4:06
  • Yes I am myself using the same.....
    – Ceda EI
    Nov 26, 2016 at 11:52
  • 1
    ok, please add this to your answer and the version of gnome you are using ( the system doesn't allow me to change my vote unless you edit ) Nov 27, 2016 at 7:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .