alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
57 stars 15 forks source link

Disable light locker #2126

Closed JimMadge closed 1 month ago

JimMadge commented 1 month ago

:white_check_mark: Checklist

:vertical_traffic_light: Depends on

:arrow_heading_up: Summary

:closed_umbrella: Related issues

Closes #2101

:microscope: Tests

github-actions[bot] commented 1 month ago

Coverage report

This PR does not seem to contain any modification to coverable code.

JimMadge commented 1 month ago

The file has been written correctly.

jim.madge:~$ cat /etc/xdg/autostart/light-locker.desktop 
Hidden=true 
JimMadge commented 1 month ago

I tested the lock screen and it seems to be working,

JimMadge commented 1 month ago

Actually, this might not be right. The screen still locks after idling for some time.

JimMadge commented 1 month ago

Possibly because the file is missing the [Desktop Entry] group header

jemrobinson commented 1 month ago

Or it could be that we're using a different lock screen programme - note that the previous instructions were for XFCE3. I think there's now an xfce4-screenlocker.

JimMadge commented 1 month ago

Hmm, that might be right, light-locker isn't installed 😄.

JimMadge commented 1 month ago

Probably xfce-screensaver, you can trigger the lockscreen with xfce-screensave-command --lock.

jemrobinson commented 1 month ago

Happy for you to either uninstall it (although I guess this might break a meta-package) or to disable it similarly to light-locker.

JimMadge commented 1 month ago

Trying that package in #2128