Lost the ability to lock screen

Using 17.3 core, stock Gnome DE.

Install was fine and I was able to lock the screen from either the super+l or using the icon. Now super+l does nothing and the lock screen icon has disappeared.

Using the CLI to activate the gnome screensaver does nothing [gnome-screensaver-command -l] and I've tried reinstalling the gnome screensaver but it says its on the latest version.

I'm struggling to even work out where to start with this. I had this issue a few months ago but I ended up doing a full reinstall at the time as I was still in the "lets see what distro is best" phase, I really don’t want to do a full install as apart from this everything is working perfectly.

Cheers all!

Can you set it (Super+L) as shortcut at settings > keyboard > keyboard shortcuts
system > lock screen?

Super-L is set as that shortcut and always has been. Its still set as that now, just checked! My other keyboard shortcuts work as well.

Try

gsettings set org.gnome.desktop.lockdown disable-lock-screen false

(to undo it replace false with true)

1 Like

Thank you so much! That worked straight away and persisted after a restart.

Any idea why the lock screen would have randomly done that?

1 Like

Unfortunately, I have no idea. Did you make changes at gdm3? Or did you change the settings in dconf-editor?

Not that I'm aware of!

Thank you for the quick and complete fix though!

1 Like

You're welcome, I'm glad it helped! I also had to do some research and try it out first, and I'm happy to have learned something new again and know now how to solve this mysterious issue.

1 Like