Using LightDM on 20.04 and turns off

Jerry Geis jerry.geis at gmail.com
Mon Dec 5 15:11:58 UTC 2022


On Mon, Dec 5, 2022 at 9:54 AM Jeffrey Walton <noloader at gmail.com> wrote:

> On Mon, Dec 5, 2022 at 7:51 AM Jerry Geis <jerry.geis at gmail.com> wrote:
> >
> > I installed LightDM...
> > I went to Settings - Power
> > Screen blank is 5 minutes - which does nothing under LightDM (no problem)
> > Automatic Suspend is  - OFF
> >
> > If I do not logout my machine stays on no problem.
> > if I goto the upper right corner and select logout, I now get the login
> screen.
> > The screen DOES go blank in 5 minutes
> >
> > BUT - after some time the machine goes to sleep...
> > Where is the setting the TURNS this off ?
>
> I've had trouble in the past with Power Management due to Systemd. It
> seems like Systemd does not honor Power settings set through the
> applet. It happens on a lot of distros, and not just Ubuntu.
>
> If Systemd is the culprit, then you need to mask some of the power
> functions. See the section 'Disable suspend and hibernation' at
> https://wiki.debian.org/Suspend . Or more generally,
> https://www.google.com/search?q=Ubuntu+systemd+mask+hibernate .
>
> Jeff
>
>
hi Jeff,

Thanks - I have ran those commands. sytemctl mask suspend.target
sleep.target hibernate.target

is there a "shortcut" on lightdm to lock the screen. WINDOWS+L does not
lock. Going to the menu and selecting lock does work.


Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20221205/9f11a34b/attachment.html>


More information about the ubuntu-users mailing list