Using xfce4-power-manager without a full xfce4 session -- resume issues
Daniel LaFlamme
misterlaflamme at yahoo.com
Fri Jul 11 03:00:36 CEST 2014
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20140710/9b611c0f/attachment-0001.html>
More information about the Xfce
mailing list