Power management

From Openbox

(Difference between revisions)
Jump to: navigation, search
(expand)
Line 1: Line 1:
Openbox does not load power management by default - you must load it, or configure it to load.
+
Openbox does not load power management by default - you must load it, or configure it to load in [[autostart.sh]].
  
There are various options you may have available, depending on your distribution, for example you may have pm-utils (?)
+
There are various options you may have available, depending on your distribution.
  
== gnome-power-manager ==
+
== pm-utils ==
  
If you have GNOME installed on the same installation of Linux that you are using with Openbox, you can run [http://projects.gnome.org/gnome-power-manager/ gnome-power-manager] - simply type or paste at the command prompt:
+
[http://pm-utils.freedesktop.org/wiki/ pm-utils] gives shell commands such as pm-hibernate and pm-suspend.
  
:gnome-power-manager
+
('''please expand''')
  
However, this appears not to suspend on low battery, and as there is no panel, there is no obvious way to check the battery level or adjust settings. (How can we do this?)
+
== acpid ==
  
 +
[http://acpid.sourceforge.net/ acpid] is a flexible and extensible daemon for delivering ACPI events, including events triggered by:
 +
* Pressing the power button
 +
* Pressing a sleep/suspend button
 +
* Closing a laptop/notebook lid
 +
* Plugging or unplugging an AC power adapter from a laptop
 +
 +
See also [https://wiki.archlinux.org/index.php/Acpid acpid on the Arch Wiki].
 +
 +
== gnome-power-manager ==
 +
 +
If you have GNOME installed on the same installation of Linux that you are using with Openbox (or if you don't mind installing a few GNOME dependencies) you can run [http://projects.gnome.org/gnome-power-manager/ gnome-power-manager] - simply type or paste at the command prompt:
 +
 +
:gnome-power-manager
  
 
Gnome power preferences provides a notify area icon, and lets you adjust the power managment settings used my gnome-power-manager. run:
 
Gnome power preferences provides a notify area icon, and lets you adjust the power managment settings used my gnome-power-manager. run:
 +
 
:gnome-power-preferences
 
:gnome-power-preferences
 +
 +
 +
== xfce4-power-manager ==
 +
 +
xfce4-power-manager appears to require fewer dependencies than gnome-power-manager.
 +
 +
== Notify area icons ==
 +
 +
Both the Gnome and the Xfce4 place icons in the notify area - this will hopefully work in most or all panels, including tint2 and LXPanel.
 +
 
== See also ==
 
== See also ==
 
* [[Suspend and hibernate]]
 
* [[Suspend and hibernate]]

Revision as of 01:11, 5 April 2012

Openbox does not load power management by default - you must load it, or configure it to load in autostart.sh.

There are various options you may have available, depending on your distribution.

Contents

pm-utils

pm-utils gives shell commands such as pm-hibernate and pm-suspend.

(please expand)

acpid

acpid is a flexible and extensible daemon for delivering ACPI events, including events triggered by:

  • Pressing the power button
  • Pressing a sleep/suspend button
  • Closing a laptop/notebook lid
  • Plugging or unplugging an AC power adapter from a laptop

See also acpid on the Arch Wiki.

gnome-power-manager

If you have GNOME installed on the same installation of Linux that you are using with Openbox (or if you don't mind installing a few GNOME dependencies) you can run gnome-power-manager - simply type or paste at the command prompt:

gnome-power-manager

Gnome power preferences provides a notify area icon, and lets you adjust the power managment settings used my gnome-power-manager. run:

gnome-power-preferences


xfce4-power-manager

xfce4-power-manager appears to require fewer dependencies than gnome-power-manager.

Notify area icons

Both the Gnome and the Xfce4 place icons in the notify area - this will hopefully work in most or all panels, including tint2 and LXPanel.

See also

Personal tools