Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Settings Settings
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 914
    • Issues 914
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 65
    • Merge requests 65
  • 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
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • SettingsSettings
  • Issues
  • #1150
Closed
Open
Issue created Oct 08, 2020 by btalb@btalb

Properly handle setting "Power Button Action" to "hibernate"

Suspend and hibernate have distinct purposes. I suspend when laptop is in general use, & hibernate when I need to keep state on my laptop but may not be returning to it for a while.

I have hibernate working via systemctl hibernate, but cannot make this happen through GNOME. I want to suspend simply by closing the lid (done), but hibernate when I press the power button. It appears the hibernate option is deliberately not in the "Settings > Power > Power Button Action" list, and when I manually enter it via Gsettings the list item value changes to "2 seconds" & power button still acts as 'interactive'.

Steps to reproduce:

  1. Manually set Power Button Action to hibernate via: gsettings set org.gnome.settings-daemon.plugins.power power-button-action hibernate
  2. Open GNOME Settings, and look at the selected value in "Settings > Power > Power Button Action"
  3. Try pressing the power button, see the interactive menu with no hibernate option

Every Ubuntu upgrade has introduced all sorts of pain points around just getting the machine to hibernate through GNOME. Is there a reason it is not integrated into the menu as seamlessly as suspend is?

Edited Oct 08, 2020 by btalb
Assignee
Assign to
Time tracking