Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gnome-settings-daemon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 294
    • Issues 294
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-settings-daemon
  • Merge requests
  • !84

power: Lock screen when the lid is closed without external monitors

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Benjamin Berg requested to merge benzea/fix-lid-screen-locking into master Feb 20, 2019
  • Overview 16
  • Commits 1
  • Pipelines 4
  • Changes 1

We currently only lock the screen when suspend is disabled on the session level. This is somewhat ironic, because in reality suspend happens because of systemd-logind.

In the case where we suspend, it does not hurt to also explicitly lock the screen. In the case that suspend is inhibited (through GNOME Tweaks), this fixes issues where the session remains unlocked.

See also #88 and gnome-tweaks!33

Edited Feb 20, 2019 by Benjamin Berg
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: benzea/fix-lid-screen-locking