Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to default to locking the screen on suspend in a distro package #363

Closed
ericonr opened this issue Jan 20, 2021 · 4 comments
Closed

How to default to locking the screen on suspend in a distro package #363

ericonr opened this issue Jan 20, 2021 · 4 comments

Comments

@ericonr
Copy link

ericonr commented Jan 20, 2021

 * Cinnamon-Screensaver version 4.8.1
 * Distribution - Void Linux

Issue

I'm not sure I'm asking this in the correct repository. I'm working on updating Cinnamon to the 4.8.x releases for Void Linux, and in my testing I've detected that, by default, the option to lock the screen before suspending the device isn't toggled, meaning that opening the device after suspending it gives me ready access to it, without asking for a password. I consider this behavior slightly surprising, and would like to know if there is some way I can configure the default setting to have that option toggled, so suspend locks the screen and protects a user's desktop.

Expected behaviour

By default, without any configuration by the user, suspending the device should also lock their session.

@ericonr ericonr changed the title How to default to locking the screen on suspend How to default to locking the screen on suspend in a distro package Jan 20, 2021
@JosephMcc
Copy link
Contributor

The setting you are looking for is this one: https://github.com/linuxmint/cinnamon-settings-daemon/blob/master/data/org.cinnamon.settings-daemon.plugins.power.gschema.xml.in.in#L129

You should be able to override this by using a gsettings-overide. A quick search will tell you how to go about it.

@ericonr
Copy link
Author

ericonr commented Jan 20, 2021

@JosephMcc I see, thanks. Seeing as it's a default which doesn't appear to be configured by distros, do you know why it was set up this way? Maybe I'm missing something.

@PowaBanga
Copy link

You can use dconf as root to see and/or modify default setting for all user ...

@ericonr
Copy link
Author

ericonr commented Jan 26, 2021

There isn't much to act on right now, though I'd still be interested in knowing the rationale behind the default being not to lock the screen.

Closing issue.

@ericonr ericonr closed this as completed Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants