You are not logged in.
Hello
I have set xfce4-power-manager to blank the screen after few minutes ("Blank after" option in Power Manager > Display). However once the screen goes blank is it not possible to turn it on again pressing any key or moving the mouse. I also tried to close and re-open the lid (causing the laptop to suspend) but it doesn't work.
The only way is to restart the computer.
I hope you can help me solve this problem.
Here is my power-manager config:
$ xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/battery-button-action 3
/xfce4-power-manager/blank-on-ac 0
/xfce4-power-manager/blank-on-battery 1
/xfce4-power-manager/brightness-on-ac 9
/xfce4-power-manager/brightness-on-battery 9
/xfce4-power-manager/brightness-switch 0
/xfce4-power-manager/brightness-switch-restore-on-exit 1
/xfce4-power-manager/critical-power-action 3
/xfce4-power-manager/dpms-on-ac-off 0
/xfce4-power-manager/dpms-on-ac-sleep 0
/xfce4-power-manager/dpms-on-battery-off 11
/xfce4-power-manager/dpms-on-battery-sleep 6
/xfce4-power-manager/general-notification true
/xfce4-power-manager/handle-brightness-keys true
/xfce4-power-manager/hibernate-button-action 2
/xfce4-power-manager/inactivity-on-battery 15
/xfce4-power-manager/inactivity-sleep-mode-on-battery 1
/xfce4-power-manager/lid-action-on-ac 1
/xfce4-power-manager/lid-action-on-battery 1
/xfce4-power-manager/lock-screen-suspend-hibernate true
/xfce4-power-manager/logind-handle-lid-switch false
/xfce4-power-manager/logind-handle-suspend-key false
/xfce4-power-manager/power-button-action 1
/xfce4-power-manager/presentation-mode false
/xfce4-power-manager/show-panel-label 3
/xfce4-power-manager/show-tray-icon false
/xfce4-power-manager/sleep-button-action 1
And here is the output of xfce4-power-manager when run in debug mode:
$ xfce4-power-manager --no-daemon --debug
** (xfce4-power-manager:1197): WARNING **: 15:55:44.008: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name
** (xfce4-power-manager:1197): WARNING **: 15:55:44.008: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
(xfce4-power-manager:1197): libnotify-WARNING **: 15:55:44.018: Failed to connect to proxy
(xfce4-power-manager:1197): GLib-GIO-CRITICAL **: 15:55:44.021: g_dbus_proxy_new_for_bus_sync: assertion 'g_variant_is_object_path (object_path)' failed
(xfce4-power-manager:1197): GLib-GObject-WARNING **: 15:55:44.021: ../glib/gobject/gsignal.c:2523: signal 'Changed' is invalid for instance '0x55c1f088ec10' of type 'GDBusProxy'
(xfce4-power-manager:1197): xfce4-power-manager-WARNING **: 15:55:44.032: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:651] xfpm_xfconf_init(): lock screen TRUE
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for dpms-enabled
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for inactivity-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for heartbeat-command
TRACE[xfpm-dpms.c:72] xfpm_dpms_set_timeouts(): Settings dpms: standby=0 suspend=0 off=0
TRACE[xfpm-polkit.c:284] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 1197>, 'start-time': <uint64 8643>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 1197>, 'start-time': <uint64 8643>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 1197>, 'start-time': <uint64 8643>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 1197>, 'start-time': <uint64 8643>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:937] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:895] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:937] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:895] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:904] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:182] xfpm_b
(xfce4-power-manager:1197): GLib-CRITICAL **: 15:55:44.042: g_error_free: assertion 'error != NULL' failed
** (xfce4-power-manager:1197): WARNING **: 15:55:44.042: No outputs have backlight property
xfce4-power-manager-Message: 15:55:44.059: Set kernel brightness switch to 0
** (xfce4-power-manager:1197): WARNING **: 15:56:55.077: No outputs have backlight property
I also tried to use directly xset to blank the screen. It works correctly: moving the mouse turns the screen back on.
xset dpms force off
Last edited by werew (2019-09-03 14:41:33)
Offline
Which distro, version of Xfce and version of xfce4-power-manager are you running?
Also, which video card and drivers do you have as well as which display manager and screen saver.
Have a look at this bug report to see if anything there from the linked launchpad bug report help.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you very much. Seems like I was able to fix the issue using the workaround proposed in the bug report.
Distro: Arch
Xfce version: 4.14
Power manager version: 1.6.5
Video card: Intel Corporation UHD Graphics 630
Driver: i915
No display manager
Using slock as screen saver
Adding the following entry to /etc/X11/xorg.conf makes the screen go back:
Section "Device"
Identifier "intel"
Driver "intel"
EndSection
Also, as pointed out in the launchpad report, setting "blank after" to never, both "put to sleep after" and "switch off after" works correctly (switching the screen off and making it come back on key-press/mouse move).
Offline
So the modesetting driver is causing the problem. Interesting.
Also, as pointed out in the launchpad report, setting "blank after" to never, both "put to sleep after" and "switch off after" works correctly (switching the screen off and making it come back on key-press/mouse move).
If you revert back to the modesetting driver, does making only these changes result in a positive result?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
If you revert back to the modesetting driver, does making only these changes result in a positive result?
Yes, it works without touching xorg's config
Last edited by werew (2019-09-04 11:37:25)
Offline
[ Generated in 0.013 seconds, 9 queries executed - Memory usage: 573.8 KiB (Peak: 590.64 KiB) ]