← Back to team overview

desktop-packages team mailing list archive

[Bug 1286430] Re: Suspend option when lid closed "greyed out" in Power Settings

 

I added the workaround referenced by
https://bugs.launchpad.net/ubuntu/+source/gnome-power-
manager/+bug/1286430/comments/8 to the bug description at the top.

** Description changed:

+ Workaround
+ ==========
+ 
+ Based on https://bugs.launchpad.net/ubuntu/+source/gnome-power-
+ manager/+bug/1286430/comments/8.
+ 
+ 1. Install the dconf-editor command if necessary:
+ 
+ $ sudo apt-get install dconf-tools
+ 
+ 2. Run dconf-editor and select
+ 
+ "org > gnome > settings-daemon > plugins > power"
+ 
+ 3. Set "lid-close-ac-action" and "lid-close-battery-action" to
+ "suspend".
+ 
+ The "suspend" option will now be selected in the Power Settings. It's
+ still greyed out, so if you change it to e.g. "nothing" you have to use
+ dconf-editor again to change it back to "suspend".
+ 
+ 
+ Bug description
+ ===============
+ 
  :~$ lsb_release -rd
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04
  erich@erich-Aspire-5334:~$ apt-cache policy gnome-power-manager
  gnome-power-manager:
-   Installed: 3.8.2-1ubuntu2
-   Candidate: 3.8.2-1ubuntu2
-   Version table:
-  *** 3.8.2-1ubuntu2 0
-         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 3.8.2-1ubuntu2
+   Candidate: 3.8.2-1ubuntu2
+   Version table:
+  *** 3.8.2-1ubuntu2 0
+         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
+         100 /var/lib/dpkg/status
  
  If this is the incorrect package, please redirect.
  
  In power options for "When the lid is closed" no option is given except
  for "Do Nothing". "Suspend" is there, but unselectable. Suspend should
  be a selectable option on laptop computers.
  
  As expected, closing laptop lid merely locks the screen. However, since
  "Suspend" cannot be selected, the option to suspend upon lid closing is
  unavailable.
  
  Expected: Suspend option selectable.
  Happened: Suspend option not selectable.
  
  Specs: Acer Aspire 5334, 4GB RAM, 320 GB  HDD, Intel Celeron 2.0 Ghz.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-power-manager 3.8.2-1ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-13.33-generic 3.13.5
  Uname: Linux 3.13.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Feb 28 19:34:27 2014
  InstallationDate: Installed on 2014-02-28 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: gnome-power-manager
  UpgradeStatus: Upgraded to trusty on 2014-02-28 (0 days ago)
- --- 
+ ---
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2014-02-28 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
  NonfreeKernelModules: wl
  Package: gnome-power-manager 3.8.2-1ubuntu2
  PackageArchitecture: amd64
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.13.0-13.33-generic 3.13.5
  Tags:  trusty
  Uname: Linux 3.13.0-13-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-02-28 (0 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1286430

Title:
  Suspend option when lid closed "greyed out" in Power Settings

Status in gnome-power-manager package in Ubuntu:
  Confirmed

Bug description:
  Workaround
  ==========

  Based on https://bugs.launchpad.net/ubuntu/+source/gnome-power-
  manager/+bug/1286430/comments/8.

  1. Install the dconf-editor command if necessary:

  $ sudo apt-get install dconf-tools

  2. Run dconf-editor and select

  "org > gnome > settings-daemon > plugins > power"

  3. Set "lid-close-ac-action" and "lid-close-battery-action" to
  "suspend".

  The "suspend" option will now be selected in the Power Settings. It's
  still greyed out, so if you change it to e.g. "nothing" you have to
  use dconf-editor again to change it back to "suspend".

  
  Bug description
  ===============

  :~$ lsb_release -rd
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04
  erich@erich-Aspire-5334:~$ apt-cache policy gnome-power-manager
  gnome-power-manager:
    Installed: 3.8.2-1ubuntu2
    Candidate: 3.8.2-1ubuntu2
    Version table:
   *** 3.8.2-1ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  If this is the incorrect package, please redirect.

  In power options for "When the lid is closed" no option is given
  except for "Do Nothing". "Suspend" is there, but unselectable. Suspend
  should be a selectable option on laptop computers.

  As expected, closing laptop lid merely locks the screen. However,
  since "Suspend" cannot be selected, the option to suspend upon lid
  closing is unavailable.

  Expected: Suspend option selectable.
  Happened: Suspend option not selectable.

  Specs: Acer Aspire 5334, 4GB RAM, 320 GB  HDD, Intel Celeron 2.0 Ghz.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-power-manager 3.8.2-1ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-13.33-generic 3.13.5
  Uname: Linux 3.13.0-13-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Feb 28 19:34:27 2014
  InstallationDate: Installed on 2014-02-28 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-power-manager
  UpgradeStatus: Upgraded to trusty on 2014-02-28 (0 days ago)
  ---
  ApportVersion: 2.13.2-0ubuntu5
  Architecture: amd64
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2014-02-28 (0 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131017)
  NonfreeKernelModules: wl
  Package: gnome-power-manager 3.8.2-1ubuntu2
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.13.0-13.33-generic 3.13.5
  Tags:  trusty
  Uname: Linux 3.13.0-13-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-02-28 (0 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/1286430/+subscriptions