Using xfce4-power-manager without a full xfce4 session -- resume issues

Daniel LaFlamme misterlaflamme at yahoo.com
Fri Jul 11 04:40:13 CEST 2014


Thanks for your response. I just tried openbox instead of dwm but still have the same issue.


On Thursday, July 10, 2014 10:27 PM, Charlie Kravetz <cjk at teamcharliesangels.com> wrote:
 


On Thu, 10 Jul 2014 18:00:36 -0700

Daniel LaFlamme <misterlaflamme at yahoo.com> wrote:

>I asked about this on the Debian users list but figured I'd post here as well. I am trying to use xfce4-power-manager with dwm (not running a full session). I'm not sure if this is supported, but any info anyone has would be helpful.
>
>The laptop can suspend and resume without issue when I run a plain vanilla 
>Xfce session (started with "Xfce session" from the lightdm login 
>screen). However, I don't want to run an entire Xfce desktop 
>environment; I want to use dwm but use xfce4-power-manager to manage 
>suspend and resume. I am using Debian 7, stable.
>
>I have an .xsession that looks like:
>
>---- .xsession ----
>
>#!/bin/bash
>
>if [ -x
> /usr/bin/xfce4-power-manager ];
>then
>   xfce4-power-manager &
>fi
>
>exec $HOME/share/bin/dwm
>-----
>
>I use lightdm to log in and select 
>"default x session." The dwm starts up as expected. xfce4-power-manager 
>also starts up (I can see notifications in the top right of the screen 
>when I plug or unplug the laptop). If I close the lid, the laptop will 
>not suspend (the fan is still running). When I open the lid, the screen 
>gets brighter and blinks, but I dont see the desktop. I see the 
>xfce4-power-manager notification pop up and then see nothing else. I 
>can't get back to the desktop and need to log into a virtual console to 
>restart the laptop.
>So, when xfce is running as a regular session, 
>suspend and resume works. Something with how I am running it from 
>.xsession with dwm is not working. 
>
>The laptop can suspend and resume without issue when I run a plain vanilla 
>Xfce session (started with "Xfce session" from the lightdm login 
>screen). However, there are instances where I don't want to run an entire Xfce desktop 
>environment but instead want to use dwm but use xfce4-power-manager to manage 
>suspend and resume. I am using Debian 7, stable.
>
>I have an .xsession that looks like:
>
>---- .xsession ----
>
>#!/bin/bash
>xrdb -merge .Xresources
>
>if [ -x
> /usr/bin/xfce4-power-manager ];
>then
>   xfce4-power-manager &
>fi
>
>$HOME/share/bin/dwm
>-----
>
>I use lightdm to log in and select 
>"default x session." The dwm starts up as expected. xfce4-power-manager 
>also starts up (I can see notifications in the top right of the screen 
>when I plug or unplug the laptop). If I close the lid, the laptop will 
>not suspend (the fan is still running). When I open the lid, the screen 
>gets brighter and blinks, but I dont see the desktop. I see the 
>xfce4-power-manager notification pop up and then see nothing else. I 
>can't get back to the desktop and need to log into a virtual console to 
>restart the laptop.
>So, when xfce is running as a regular session, 
>suspend and resume works. Something with how I am running it from 
>.xsession with dwm is not working. Anyone have any ideas, particularly on what to look at to debug?
>

I use xfce4-power-manager with OpenBox and it works good. It has not
given me any suspend or hibernate issues in over a year now. 

-- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com
]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20140710/99a34a49/attachment.html>


More information about the Xfce mailing list