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

Set get org.mate.screensaver lock-delay to 0 by default #282

Closed
davidhedlund opened this issue May 16, 2023 · 5 comments
Closed

Set get org.mate.screensaver lock-delay to 0 by default #282

davidhedlund opened this issue May 16, 2023 · 5 comments

Comments

@davidhedlund
Copy link

Expected behaviour

Should lock itself when the screenssaver is turned on.

Actual behaviour

Does not lock itself when the screenssaver is turned on.

Steps to reproduce the behaviour

Open mate-screensaver-preferences (Settings > System > Preferences > Look and Feel > Screensaver)

  • "Lock screen when screensaver is active" is already enabled

Test 1

  • Set "Regard the computer as idle after:" to 1 minute
  • Idle until the screensaver gets fully activated, then move the mouse pointer after: 45 seconds (set a timer). The lock screen doesn't show up.
  • Idle until the screensaver gets fully activated, then move the mouse pointer after: 60 seconds (set a timer). The lock screen shows up.

Test 2

  • Set "Regard the computer as idle after:" to 2 minutes
  • Idle until the screensaver gets fully activated, then move the mouse pointer after: 45 seconds (set a timer). The lock screen doesn't show up.
  • Idle until the screensaver gets fully activated, then move the mouse pointer after: 60 seconds (set a timer). The lock screen shows up.

MATE general version

Multiple

Package version

See https://bugs.launchpad.net/ubuntu/+source/mate-screensaver/+bug/2017879 where I first filed it.

Linux Distribution

Debian, Ubuntu, Ubuntu MATE, etc. See https://bugs.launchpad.net/ubuntu/+source/mate-screensaver/+bug/2017879 where I first filed it.

Link to bugreport of your Distribution (requirement)

https://bugs.launchpad.net/ubuntu/+source/mate-screensaver/+bug/2017879

@zhuyaliang
Copy link
Member

gsettings set org.mate.screensaver lock-delay 0

    <key name="lock-delay" type="i">
      <default>0</default>
      <summary>Time before locking</summary>
      <description>The number of minutes after screensaver activation before locking the screen.</description>
    </key>

@davidhedlund davidhedlund changed the title "Lock screen when screensaver is active" is delayed 60 seconds after the screensaver has been activated Set get org.mate.screensaver lock-delay to 0 by default. And show the lock-delay setting in the GUI Dec 19, 2023
@davidhedlund
Copy link
Author

gsettings set org.mate.screensaver lock-delay 0

    <key name="lock-delay" type="i">
      <default>0</default>
      <summary>Time before locking</summary>
      <description>The number of minutes after screensaver activation before locking the screen.</description>
    </key>

Thank you very much. That's why the delay is 60 seconds for me:

gsettings get org.mate.screensaver lock-delay
1
  • I guess that the lock delay should be set to 0?
  • Also, there's no lock delay setting for the screensaver in the GUI:
    image

@zhuyaliang
Copy link
Member

I guess that the lock delay should be set to 0?

The default is 0, it should be because other configurations have modified lock-delay, using grep -rin lock-delay/usr/share/glib-2.0/schemas/

Also, there's no lock delay setting for the screensaver in the GUI:

At present, lock delay can only be set through gsettings set org.date.screensave lock-delay 0

@davidhedlund davidhedlund changed the title Set get org.mate.screensaver lock-delay to 0 by default. And show the lock-delay setting in the GUI Show the lock-delay setting in the GUI Dec 20, 2023
@davidhedlund
Copy link
Author

davidhedlund commented Dec 20, 2023

I guess that the lock delay should be set to 0?

The default is 0, it should be because other configurations have modified lock-delay, using grep -rin lock-delay/usr/share/glib-2.0/schemas/

You've been very helpful!

grep -rin "lock-delay=1" /usr/share/glib-2.0/schemas/
/usr/share/glib-2.0/schemas/10_mate-common.gschema.override:92:lock-delay=1

Also, there's no lock delay setting for the screensaver in the GUI:

At present, lock delay can only be set through gsettings set org.date.screensave lock-delay 0

For security reasons, I think this should be visible in the GUI. I change the title once again to solely focus on this.

@davidhedlund davidhedlund changed the title Show the lock-delay setting in the GUI Feature request: Show the lock-delay setting in the GUI Dec 21, 2023
@davidhedlund
Copy link
Author

@davidhedlund davidhedlund changed the title Feature request: Show the lock-delay setting in the GUI Set get org.mate.screensaver lock-delay to 0 by default. And show the lock-delay setting in the GUI Dec 25, 2023
@davidhedlund davidhedlund changed the title Set get org.mate.screensaver lock-delay to 0 by default. And show the lock-delay setting in the GUI Set get org.mate.screensaver lock-delay to 0 by default Dec 25, 2023
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

2 participants