<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Thanks for your response. I just tried openbox instead of dwm but still have the same issue.</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, July 10, 2014 10:27 PM, Charlie Kravetz <cjk@teamcharliesangels.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container">On Thu, 10 Jul 2014 18:00:36 -0700<div class="yqt7590897654" id="yqtfd22691"><br clear="none">Daniel LaFlamme <<a shape="rect"
ymailto="mailto:misterlaflamme@yahoo.com" href="mailto:misterlaflamme@yahoo.com">misterlaflamme@yahoo.com</a>> wrote:<br clear="none"><br clear="none">>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.<br clear="none">><br clear="none">>The laptop can suspend and resume without issue when I run a plain vanilla <br clear="none">>Xfce session (started with "Xfce session" from the lightdm login <br clear="none">>screen). However, I don't want to run an entire Xfce desktop <br clear="none">>environment; I want to use dwm but use xfce4-power-manager to manage <br clear="none">>suspend and resume. I am using Debian 7, stable.<br clear="none">><br clear="none">>I have an .xsession that looks like:<br clear="none">><br clear="none">>----
.xsession ----<br clear="none">><br clear="none">>#!/bin/bash<br clear="none">><br clear="none">>if [ -x<br clear="none">> /usr/bin/xfce4-power-manager ];<br clear="none">>then<br clear="none">> xfce4-power-manager &<br clear="none">>fi<br clear="none">><br clear="none">>exec $HOME/share/bin/dwm<br clear="none">>-----<br clear="none">><br clear="none">>I use lightdm to log in and select <br clear="none">>"default x session." The dwm starts up as expected. xfce4-power-manager <br clear="none">>also starts up (I can see notifications in the top right of the screen <br clear="none">>when I plug or unplug the laptop). If I close the lid, the laptop will <br clear="none">>not suspend (the fan is still running). When I open the lid, the screen <br clear="none">>gets brighter and blinks, but I dont see the desktop. I see the <br clear="none">>xfce4-power-manager notification pop up and
then see nothing else. I <br clear="none">>can't get back to the desktop and need to log into a virtual console to <br clear="none">>restart the laptop.<br clear="none">>So, when xfce is running as a regular session, <br clear="none">>suspend and resume works. Something with how I am running it from <br clear="none">>.xsession with dwm is not working. <br clear="none">><br clear="none">>The laptop can suspend and resume without issue when I run a plain vanilla <br clear="none">>Xfce session (started with "Xfce session" from the lightdm login <br clear="none">>screen). However, there are instances where I don't want to run an entire Xfce desktop <br clear="none">>environment but instead want to use dwm but use xfce4-power-manager to manage <br clear="none">>suspend and resume. I am using Debian 7, stable.<br clear="none">><br clear="none">>I have an .xsession that looks like:<br clear="none">><br
clear="none">>---- .xsession ----<br clear="none">><br clear="none">>#!/bin/bash<br clear="none">>xrdb -merge .Xresources<br clear="none">><br clear="none">>if [ -x<br clear="none">> /usr/bin/xfce4-power-manager ];<br clear="none">>then<br clear="none">> xfce4-power-manager &<br clear="none">>fi<br clear="none">><br clear="none">>$HOME/share/bin/dwm<br clear="none">>-----<br clear="none">><br clear="none">>I use lightdm to log in and select <br clear="none">>"default x session." The dwm starts up as expected. xfce4-power-manager <br clear="none">>also starts up (I can see notifications in the top right of the screen <br clear="none">>when I plug or unplug the laptop). If I close the lid, the laptop will <br clear="none">>not suspend (the fan is still running). When I open the lid, the screen <br clear="none">>gets brighter and blinks, but I dont see the desktop. I see the <br
clear="none">>xfce4-power-manager notification pop up and then see nothing else. I <br clear="none">>can't get back to the desktop and need to log into a virtual console to <br clear="none">>restart the laptop.<br clear="none">>So, when xfce is running as a regular session, <br clear="none">>suspend and resume works. Something with how I am running it from <br clear="none">>.xsession with dwm is not working. Anyone have any ideas, particularly on what to look at to debug?</div><br clear="none">><br clear="none"><br clear="none">I use xfce4-power-manager with OpenBox and it works good. It has not<br clear="none">given me any suspend or hibernate issues in over a year now. <br clear="none"><br clear="none">-- <br clear="none">Charlie Kravetz<br clear="none">Linux Registered User Number 425914<br clear="none">[<a shape="rect" href="http://linuxcounter.net/user/425914.html"
target="_blank">http://linuxcounter.net/user/425914.html</a>]<br clear="none">Never let anyone steal your DREAM. [<a shape="rect" href="http://keepingdreams.com/" target="_blank">http://keepingdreams.com</a><div class="yqt7590897654" id="yqtfd35878">]</div><br><br></div> </div> </div> </div> </div></body></html>