how to stop screen lock

Jerry Geis jerry.geis at gmail.com
Thu Nov 3 17:45:42 UTC 2022


On Thu, Nov 3, 2022 at 1:27 PM Jerry Geis <jerry.geis at gmail.com> wrote:

> Well after much searching I found this:
>
> systemd-inhibit
> WHO                          UID  USER    PID  COMM            WHAT
>                                               WHY
>                    >
> NetworkManager               0    root    7073 NetworkManager  sleep
>                                              NetworkManager needs to turn
> off networks        >
> UPower                       0    root    2106 upowerd         sleep
>                                              Pause device polling
>                   >
> Unattended Upgrades Shutdown 0    root    914  unattended-upgr shutdown
>                                               Stop ongoing upgrades or
> perform upgrades before >
> gdm                          122  gdm     5704 gsd-media-keys
>  handle-power-key:handle-suspend-key:handle-hibernate-key GNOME handling
> keypresses                        >
> gdm                          122  gdm     5704 gsd-media-keys  sleep
>                                              GNOME handling keypresses
>                    >
> gdm                          122  gdm     5714 gsd-power       sleep
>                                              GNOME needs to lock the screen
>                   >
> silentm                      1000 silentm 5129 gsd-media-keys
>  handle-power-key:handle-suspend-key:handle-hibernate-key GNOME handling
> keypresses                        >
> silentm                      1000 silentm 5129 gsd-media-keys  sleep
>                                              GNOME handling keypresses
>                    >
> silentm                      1000 silentm 5133 gsd-power       sleep
>                                              GNOME needs to lock the screen
>                   >
>
>
> So it is not clear to me "how" to change these states. The ones with the
> "GNOME needs to lock the screen".
> Anyone know how to change these settings ? never new of a systemd-inhibit.
>
> Thanks
>
> Jerry
>

These should be related in /etc/systemd/logind.conf



[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192

It doesnt seem like these are being used ??? I even rebooted just to make
sure.

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


More information about the ubuntu-users mailing list