Default Ubuntu (gnome) desktop doesn't follow systemd-inhibit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
(1) Open terminal
(2) Run command
systemd-inhibit --what=idle:sleep --mode=block sleep 1h
(3) Wait
Expected results:
The screensaver or system sleep (S3) shouldn't activate within an hour.
Actual results:
Screensaver activates after the default delay.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-session (not installed)
ProcVersionSign
Uname: Linux 5.13.0-30-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 10 12:55:12 2023
InstallationDate: Installed on 2022-03-25 (381 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
SourcePackage: gnome-session
UpgradeStatus: No upgrade log present (probably fresh install)
If you're using Wayland then the issue is bug 1740771 (https:/ /gitlab. gnome.org/ GNOME/mutter/ -/issues/ 20)