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.
+
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''.
 
+
  '''$''' sudo emerge -av xfce4-power-manager
To enable suspend to ram, you'll need to emerge the ''sys-power/suspend'' package.
+
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.
  '''$''' sudo emerge -av suspend
 
Once the emerge has completed, test your system can suspend properly. Close any critical applications or network connections, then issue the suspend command.
 
'''$''' sudo s2ram
 
And... my laptop is unsupported. Fuck.
 

Revision as of 17:07, 21 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. 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.

$ sudo emerge -av xfce4-power-manager

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.