Comment 5 for bug 1759008

Revision history for this message
Mikko Rantalainen (mira) wrote :

Still broken with MATE desktop on Ubuntu 18.04.2 LTS. If I run mate-power-preferences and select ON AC Power - Put computer to sleep when inactive for: [never] the computer still automatically sleeps (enters S3) after 20 minutes.

$ grep -C1 sleep-inactive-ac-timeout /usr/share/glib-2.0/schemas/10_ubuntu-settings.gschema.override
[org.gnome.settings-daemon.plugins.power]
sleep-inactive-ac-timeout = 0

I've tried to manually run
$ systemd-inhibit --mode=block sleep 2h

but the system still enters S3 after 20 minutes unless I disable screen saver using mate-inhibit-applet.

$ apt policy mate-desktop
mate-desktop:
  Installed: 1.20.1-2ubuntu1
  Candidate: 1.20.1-2ubuntu1