Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 857154

Summary: "Help, how can I make my laptop suspend?" (with an external monitor)
Product: Red Hat Enterprise Linux 7 Reporter: Paolo Bonzini <pbonzini>
Component: control-centerAssignee: Richard Hughes <rhughes>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: mclasen, pbonzini
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 887295 (view as bug list) Environment:
Last Closed: 2014-02-28 13:15:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 887295    

Description Paolo Bonzini 2012-09-13 17:01:11 UTC
Many people are using their laptop like a desktop, with a huge mechanical
switch (the lid).  Quoting from
https://live.gnome.org/GnomeOS/Design/Whiteboards/SystemStopRestart design
updates: "Suspend is typically activated by closing the lid on a laptop or with
a power button on a tablet".

However, if you have an external monitor, the default GNOME3 policy is to _not_
suspend when you close the lid.  We clearly have conflicting wishes:

- "I'll take my laptop to the office, close the lid and work on the external
monitor" (GNOME default)

- "I'll work on both monitors, and close the lid when I stop using it.  I want
my laptop to suspend when I close the lid." (alternative)

Up until GNOME 3.6, support for the latter group was missing, but it was merely an inconvenience.  People could still both suspend and shutdown: suspend could be done using the user menu, shutdown.  (I'm not considering pressing Alt while the status menu is visible, since that's also pretty obscure).

GNOME 3.6 made the suspend behavior customizable via gnome-tweak-tool, but at the same time suspend is not anymore part of the user menu.  So with current RHEL7 people that use both screens CANNOT anymore suspend without knowing either Alt or gnome-tweak-tool.

(Upstream https://bugzilla.gnome.org/show_bug.cgi?id=681124)

Comment 2 Paolo Bonzini 2012-12-14 15:28:26 UTC
See also https://bugzilla.gnome.org/show_bug.cgi?id=688814 for how gnome-tweak-tool enables this feature.

Comment 3 Bastien Nocera 2013-04-29 10:24:38 UTC
The upstream bug has been fixed and in GNOME 3.8.

Comment 4 Paolo Bonzini 2013-04-29 17:04:55 UTC
Note that the functionality is not yet enabled in control-center.  I don't think closing this bug is right, unless you decide that gnome-tweak-tool support is enough.

Comment 5 Bastien Nocera 2013-04-29 18:41:22 UTC
Fair enough, the UI portion of the fix hasn't been dealt with.

Comment 6 Matthias Clasen 2014-02-28 13:15:18 UTC
We do have a 'power button action' setting and a 'suspend on lid close' setting in gnome-tweak-tool. And we're out of time for 7.0