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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1759008

Title:
  Revert automatic suspend by default for bionic?

Status in ubuntu-settings package in Ubuntu:
  Fix Released
Status in ubuntu-settings source package in Bionic:
  Fix Released

Bug description:
  GNOME 3.28 has turned Automatic Suspend on by default and set it to 20
  minutes:

  https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/2fdb48fa

  I generally think this is a good thing. There are a few issues though.

  1. The computer will still suspend even if there are remote users
  logged in or the computer is being used as a server for files,
  printers, etc.

  2. Some software doesn't set inhibit correctly. ~ahasenack mentioned
  he was using the Spotify Snap and the computer suspend after 20
  minutes. (Maybe Spotify needs to use the screen-inhibit-control snap
  interface.)

  3. Even if it does set inhibit, there is a report that the computer will 
suspend as soon as the inhibit is removed if there is no other activity. 
(Imagine a movie playing. At the end of the movie, the computer goes to sleep 
immediately.) More details and proposed fix at
  https://bugzilla.gnome.org/show_bug.cgi?id=705942#c21

  4. There is no GUI way to change this setting for the login screen yet.
  https://gitlab.gnome.org/GNOME/gnome-control-center/issues/22

  5. Some users think that desktop computers should be always running
  unless told otherwise. Personally, I don't give this argument much
  weight at all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-settings/+bug/1759008/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to