Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
xfce:xfce4-power-manager:faq [2015/06/20 17:18] – Add xfconf section ericxfce:xfce4-power-manager:faq [2021/02/08 08:53] (current) – update icon kevinbowen
Line 1: Line 1:
 +~~NOTOC~~
 +{{ :xfce:xfce.powermanager.png?no link|}}
 +======  xfce4-power-manager - Frequently Asked Questions ======
 +
 +  * **[[#Why are the options for suspend/hibernate not there or I can not select them?|Why are the options for suspend/hibernate not there or I can not select them?]]**
 +  * **[[#I have put my computer into suspend or hibernate mode, but the computer is not waking up.|I have put my computer into suspend or hibernate mode, but the computer is not waking up.]]**
 +  * **[[#How can I make logind handle button events instead of xfce4-power-manager|How can I make logind handle button events instead of xfce4-power-manager]]**
 +
 +----
 +
 ===== Why are the options for suspend/hibernate not there or I can not select them? ===== ===== Why are the options for suspend/hibernate not there or I can not select them? =====
-! There are many possible reasons, for example your kernel could be compiled without suspend/hibernate options. It could also be that you don't have the right permissions to use them.+! There are many possible reasons. For exampleyour kernel could be compiled without suspend/hibernate options. It could also be that you don't have the right permissions to use them.
  
 Assuming your kernel and computer's hardware does support suspend/hibernate, you can see what xfce4-power-manager is trying to do by starting it in debug mode. To do that first, stop the current running instance of xfce4-power-manager: Assuming your kernel and computer's hardware does support suspend/hibernate, you can see what xfce4-power-manager is trying to do by starting it in debug mode. To do that first, stop the current running instance of xfce4-power-manager:
Line 25: Line 35:
 ! TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.consolekit.system.hibernate is authorized=FALSE ! TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.consolekit.system.hibernate is authorized=FALSE
  
-Here xfce4-power-manager is using ConsoleKit2 and is blocked by system/distribution policy.+Herexfce4-power-manager is using ConsoleKit2 and is blocked by system/distribution policy.
  
 ! TRACE[xfpm-power.c:236] xfpm_power_check_polkit_auth(): using xfpm internal suspend backend ! TRACE[xfpm-power.c:236] xfpm_power_check_polkit_auth(): using xfpm internal suspend backend
  
 Finally, if none of those other tools are detected then xfce4-power-manager falls back to an internal method to perform these actions. It will use an org.xfce.power.xfce4-pm-helper policy file to determine if it's authorized to perform those system actions. For the internal fallback (and ConsoleKit2) you'll need to ensure you have the pm-utils package installed if you're using Linux. FreeBSD, OpenBSD, and DragonFlyBSD based systems will just work. Finally, if none of those other tools are detected then xfce4-power-manager falls back to an internal method to perform these actions. It will use an org.xfce.power.xfce4-pm-helper policy file to determine if it's authorized to perform those system actions. For the internal fallback (and ConsoleKit2) you'll need to ensure you have the pm-utils package installed if you're using Linux. FreeBSD, OpenBSD, and DragonFlyBSD based systems will just work.
 +
 +
 +----
  
 ===== I have put my computer into suspend or hibernate mode, but the computer is not waking up. ===== ===== I have put my computer into suspend or hibernate mode, but the computer is not waking up. =====
-! This was the subject of many bug reports. Please note that the power manager has nothing to do with these problems, since the kernel is responsible for these tasks. The kernel team is putting a lot of efforts into fixing these kind of problems, however, if you still have problems please report a bug to your distributor and hopefully they can contact the kernel team and possibly provide a work-around. +! This was the subject of many bug reports. Please note that the power manager has nothing to do with these problems, since the kernel is responsible for these tasks. The kernel team is putting a lot of effort into fixing these kind of problems. However, if you still have problems please report a bug to your distributor and hopefully they can contact the kernel team and possibly provide a work-around.  
 + 
 +----
  
 ===== How can I make logind handle button events instead of xfce4-power-manager ===== ===== How can I make logind handle button events instead of xfce4-power-manager =====
-! By default xfce4-power-manager inhibit'logind handling suspend/hibernate and it'keys. This is to prevent conflicts that xfce4-power-manager and logind can have. If you wish to have xfce4-power-manager not inhibit logind for a particular function just set the value in xfconf's Settings Editor or with xfconf-queries as shown below.+! By default xfce4-power-manager inhibits logind handling suspend/hibernate and its keys. This is to prevent conflicts that xfce4-power-manager and logind can have. If you wish to have xfce4-power-manager not inhibit logind for a particular functionjust set the value in xfconf's Settings Editor or with xfconf-queries as shown below.
  
 To have logind handle the lid open/close event: To have logind handle the lid open/close event:
-  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/handle-lid-switch -n -t bool -s true+  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true
 To have logind handle the power key: To have logind handle the power key:
-  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/handle-power-key -n -t bool -s true+  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true
 To have logind handle the suspend key: To have logind handle the suspend key:
-  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/handle-suspend-key -n -t bool -s true+  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-suspend-key -n -t bool -s true
 To have logind handle the hibernate key: To have logind handle the hibernate key:
-  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/handle-hibernate-key -n -t bool -s true+  xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-hibernate-key -n -t bool -s true 
  
 +[[|Back to Top]]
 +----
 +[[:xfce:xfce4-power-manager:start:|Back to xfce4-power-manager main page]]