Power management

From Openbox

(Difference between revisions)
Jump to: navigation, search
(expand)
m (Fix link)
 
(4 intermediate revisions by 2 users not shown)
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 [[Help:Autostart|autostart]].
  
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.
 +
 
 +
== pm-utils ==
 +
 
 +
[http://pm-utils.freedesktop.org/wiki/ pm-utils] gives shell commands such as pm-hibernate and pm-suspend.
 +
 
 +
[https://wiki.archlinux.org/index.php/Pm-utils pm-utils on the Arch wiki] has configuration details.
 +
 
 +
== 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 ==
 
== gnome-power-manager ==
  
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:
+
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-manager
  
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?)
+
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 ==
 
== See also ==
* [[Suspend]]
+
* [[Suspend and hibernate]]
* [[Hibernate]]
+

Latest revision as of 14:33, 10 July 2017

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

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

Contents

[edit] pm-utils

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

pm-utils on the Arch wiki has configuration details.

[edit] 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.

[edit] 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


[edit] xfce4-power-manager

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

[edit] 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.

[edit] See also

Personal tools