You are not logged in.
Using xfce-power-manager to suspend manually works fine, but (almost?) never will it suspend automatically after the timeout expires. The has been a problem ever since HAL went away (I think), and I have never been able to resolve it. After installing xscreensaver, I get the Screensaver icon in xfce settings manager; setting it to 1 minute works fine, screen locks correctly so I know that something isn't causing spurious USB mouse events and keeping the desktop active.
I'm having this problem on desktops and laptops, i686 and x86-64, current Arch kernel and xorg packages.
Settings from ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml :
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-power-manager" version="1.0">
<property name="xfce4-power-manager" type="empty">
<property name="brightness-on-ac" type="uint" value="120"/>
<property name="general-notification" type="bool" value="false"/>
<property name="show-tray-icon" type="uint" value="0"/>
<property name="enable-cpu-freq-control" type="bool" value="false"/>
<property name="power-save-on-battery" type="bool" value="false"/>
<property name="inactivity-on-ac" type="uint" value="15"/>
<property name="power-button-action" type="uint" value="3"/>
<property name="dpms-on-ac-sleep" type="uint" value="0"/>
<property name="dpms-on-ac-off" type="uint" value="0"/>
</property>
</channel>
~/.xinitrc :
xmodmap ~/.xmodmap &
unclutter &
RXVT_SOCKET=/tmp/.urxvtd
urxvtd -q -f -o > /dev/null 2>&1
xset b off
xset -dpms
exec ck-launch-session startxfce4
This command also works to manually suspend as a regular user:
dbus-send \
--session \
--dest=org.freedesktop.PowerManagement \
--type=method_call \
--print-reply \
--reply-timeout=2000 \
/org/freedesktop/PowerManagement \
org.freedesktop.PowerManagement.Suspend
Any help appreciated.
Offline