You are not logged in.
Hi,
I'm running XFCE on a Chromebook and trying to set XFCE to suspend when the power button is pressed. I've set this option in Power Manager. I've also set the display to switch off when the lid is closed:
When I press the power button, it doesn't suspend, instead displaying this error:
power manager
gdbus.error:org.freedesktop.dbus.error.spawn.childexited:
launch helper exited with unknown return code 1
I've tried running with debug:
sudo xfce4-power-manager --debug --no-daemon
closing the lid (does work - switches off the display):
TRACE[xfpm-manager.c:439] xfpm_manager_lid_changed_cb(): LID close event: ((XfpmLidTriggerAction) LID_TRIGGER_NOTHING)
TRACE[xfpm-dpms.c:284] xfpm_dpms_force_level(): start
TRACE[xfpm-dpms.c:303] xfpm_dpms_force_level(): Forcing DPMS mode 3
opening lid:
TRACE[xfpm-manager.c:472] xfpm_manager_lid_changed_cb(): LID opened: ((XfpmLidTriggerAction) LID_TRIGGER_NOTHING)
TRACE[xfpm-dpms.c:284] xfpm_dpms_force_level(): start
TRACE[xfpm-dpms.c:316] xfpm_dpms_force_level(): No need to change DPMS mode, current_level=0 requested_level=0
pressing the power button (fails to suspend XFCE):
TRACE[xfpm-button.c:118] xfpm_button_filter_x_events(): Key press: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:368] xfpm_manager_button_pressed_cb(): Received button press event: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:399] xfpm_manager_button_pressed_cb(): Shutdown request : : ((XfpmShutdownRequest) XFPM_DO_SUSPEND)
** (xfce4-power-manager:31519): WARNING **: could not get output property
This error is displayed on the desktop at the same time:
More debug info:
xfce4-power-manager -V
Xfce Power Manager 1.4.4
xfce4-power-manager --dump
(xfce4-power-manager:23424): xfce4-power-manager-WARNING **: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
(xfce4-power-manager:23424): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode
** (xfce4-power-manager:23424): WARNING **: could not get output property
xfce4-power-manager-Message: Set kernel brightness switch to 0
(xfce4-power-manager:23424): xfce4-power-manager-WARNING **: Failed to get keyboard max brightness level : No such interface 'org.freedesktop.UPower.KbdBacklight' on object at path /org/freedesktop/UPower/KbdBacklight
** (xfce4-power-manager:23424): WARNING **: could not get output property
---------------------------------------------------
Xfce power manager version 1.4.4
With policykit support
With network manager support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: True
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/blank-on-ac 0
/xfce4-power-manager/blank-on-battery 0
/xfce4-power-manager/brightness-on-battery 9
/xfce4-power-manager/brightness-switch 0
/xfce4-power-manager/brightness-switch-restore-on-exit 0
/xfce4-power-manager/critical-power-action 0
/xfce4-power-manager/dpms-on-ac-off 0
/xfce4-power-manager/dpms-on-ac-sleep 0
/xfce4-power-manager/dpms-on-battery-off 0
/xfce4-power-manager/dpms-on-battery-sleep 0
/xfce4-power-manager/lid-action-on-ac 0
/xfce4-power-manager/lid-action-on-battery 0
/xfce4-power-manager/lock-screen-suspend-hibernate false
/xfce4-power-manager/logind-handle-lid-switch false
/xfce4-power-manager/power-button-action 1
/xfce4-power-manager/show-tray-icon 1
xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 20
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x22 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is On
ps -ef | grep power
228 1371 1 0 Sep28 ? 00:09:54 /usr/bin/powerd --log_dir=/var/log/power_manager --run_dir=/run/power_manager/power --vmodule=
user 1490 1481 0 Oct22 ? 00:00:05 /bin/sh -e /usr/local/bin/croutonpowerd --daemon
root 1579 1660 0 Oct22 ? 00:00:02 /usr/lib/upower/upowerd
root 2733 1 0 Sep28 ? 00:00:00 minijail0 -u power --profile=minimalistic-mountns --uts -e -l -N -p -b /dev/log -b /sys -- /usr/share/cros/init/temp_logger.sh
root 2745 2733 0 Sep28 ? 00:00:00 minijail0 -u power --profile=minimalistic-mountns --uts -e -l -N -p -b /dev/log -b /sys -- /usr/share/cros/init/temp_logger.sh
user 23616 1660 0 18:05 ? 00:00:00 xfce4-power-manager
user 24357 22391 0 18:08 pts/4 00:00:00 grep --color=auto power
XFCE has been fantastic and this forum has been very helpful for me to be able to troubleshoot. I'm hoping you can assist with the solution.
Thanks!
XFCEAllDay
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 531.27 KiB (Peak: 544.56 KiB) ]