Difference between revisions of "Suspend and Hibernate"

From gr0x0rd
Jump to navigation Jump to search
Line 1: Line 1:
 
== Configuring Hardware - Suspend and Hibernate ==
 
== Configuring Hardware - Suspend and Hibernate ==
  
If you have a laptop, chances are you'll want your system to go to sleep based on various actions, such as closing the lid. The ability to suspend and hibernate should already have been installed along with the ''sys-power/pm-utils'' package. When running xfce, managing power actions and events can be simplified by leveraging ''xfce4-power-manager''.
+
If you have a laptop, chances are you'll want your system to go to sleep based on various actions, such as closing the lid when running on battery power. There are a number of packages that can perform suspend and hibernate functionality, but the most compatible one is the ''sys-power/pm-utils'' package.  
  '''$''' sudo emerge -av xfce4-power-manager
+
  '''$''' sudo emerge -av sys-power/pm-utils
Once the emerge has completed, you can access your power settings via Settings -> Xfce 4 Power Manager from your menu. You can easily set the icon to display on ac or battery power, and set actions for things such as closing the lid, when the ac adapter is unplugged, or after running on batteries for a certain time period.
 
 
 
Another method for controlling your suspend / hibernate features is to manually edit the acpi configuration. This can be done via the file ''/etc/acpi/default.sh''.
 

Revision as of 12:45, 23 December 2010

Configuring Hardware - Suspend and Hibernate

If you have a laptop, chances are you'll want your system to go to sleep based on various actions, such as closing the lid when running on battery power. There are a number of packages that can perform suspend and hibernate functionality, but the most compatible one is the sys-power/pm-utils package.

$ sudo emerge -av sys-power/pm-utils