Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G gnome-settings-daemon
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 323
    • Issues 323
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • GNOMEGNOME
  • gnome-settings-daemon
  • Merge requests
  • !84

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

  • Review changes

  • Download
  • 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
Reviewers
Request review from
Time tracking
Source branch: benzea/fix-lid-screen-locking