You are not logged in.
Pages: 1
I unfortunately got the stupid idea to exchange my Intel NUC11 for an Intel NUC12 Pro.
Everything was running fine before, but now I'm in a lot of trouble with my MX Linux (Xfce).
One of them is the "power management".
I can set there - regarding the screen - what I want, NOTHING happens.
Neither does the screen go black after the set time, nor does the brightness reduce after corresponding inactivity. Resume (to RAM) does not work anyway, after reboot and "resuming from hibernate" I have a black screen.
Any suggestions from those in the know?
$ inxi -S
System: Host: MX-Linux Kernel: 5.19.0-2mx-amd64 x86_64 bits: 64 Desktop: Xfce 4.16.0
Distro: MX-21.2.1_x64 Wildflower October 20 2021
$ pkaction | grep xfce
org.xfce.power.backlight-helper
org.xfce.power.xfce4-pm-helper
org.xfce.session.xfsm-shutdown-helper
org.xfce.thunar
$ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 4.16.0
Mit Unterstützung für »policykit«
Mit Unterstützung für »network-manager«
---------------------------------------------------
Kann in Bereitschaftsmodus versetzen: Ja
Kann in Ruhezustand versetzen: Ja
Darf in Bereitschaftsmodus versetzen: Ja
Darf System in den Ruhezustand versetzen: Ja
Darf System herunterfahren: Ja
Hat Akku: Nein
Hat Helligkeitsregler: Ja
Hat Hauptschalter: Ja
Hat Taste für Ruhezustand: Ja
Hat Energiesparmodustaste: Ja
Hat Akkutaste: Ja
Hat Klappe: Nein
Offline
Hello and welcome.
Is power manager running:
ps -ef | grep power
Try running xfce4-power-manager in debug mode:
xfce4-power-manager -q
xfce4-power-manager --debug --no-daemon
...and post back the output after an event should have happened.
Also post back:
xfconf-query -c xfce4-power-manager -lv
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
First: Thank you for the quick response!
$ ps -ef | grep power
root 2552 1 0 09:32 ? 00:00:00 /usr/libexec/upowerd
Clemens 85432 2613 0 17:49 ? 00:00:01 xfce4-power-manager-settings
Clemens 99947 2716 0 19:03 pts/0 00:00:00 grep power
$ xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/blank-on-ac 2
/xfce4-power-manager/brightness-level-on-ac 50
/xfce4-power-manager/brightness-on-ac 90
/xfce4-power-manager/brightness-switch 1
/xfce4-power-manager/brightness-switch-restore-on-exit 1
/xfce4-power-manager/dpms-enabled true
/xfce4-power-manager/dpms-on-ac-off 30
/xfce4-power-manager/dpms-on-ac-sleep 8
/xfce4-power-manager/general-notification true
/xfce4-power-manager/handle-brightness-keys false
/xfce4-power-manager/hibernate-button-action 2
/xfce4-power-manager/inactivity-on-ac 15
/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 3
/xfce4-power-manager/presentation-mode true
/xfce4-power-manager/show-panel-label 0
/xfce4-power-manager/show-tray-icon false
$ xfce4-power-manager --debug --no-daemon
** (xfce4-power-manager:98962): WARNING **: 18:57:24.883: 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:98962): WARNING **: 18:57:24.883: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:679] xfpm_xfconf_init(): lock screen FALSE
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-exponential
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for network-manager-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for heartbeat-command
(xfce4-power-manager:98962): GLib-GObject-WARNING **: 18:57:24.893: ../../../gobject/gsignal.c:2614: signal 'Changed' is invalid for instance '0x55c0d45af510' of type 'GDBusProxy'
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 98962>, 'start-time': <uint64 3394449>}), '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 98962>, 'start-time': <uint64 3394449>}), '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 98962>, 'start-time': <uint64 3394449>}), '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 98962>, 'start-time': <uint64 3394449>}), '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:930] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
TRACE[xfpm-power.c:889] xfpm_power_add_device(): 'mouse' device added
TRACE[xfpm-power.c:898] xfpm_power_add_device(): Battery device type 'mouse' detected at: /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:98962): xfce4-power-manager-WARNING **: 18:57:24.898: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:930] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/keyboard_hid_FNP93660014J1YLA8_battery
TRACE[xfpm-power.c:889] xfpm_power_add_device(): 'keyboard' device added
TRACE[xfpm-power.c:898] xfpm_power_add_device(): Battery device type 'keyboard' detected at: /org/freedesktop/UPower/devices/keyboard_hid_FNP93660014J1YLA8_battery
TRACE[xfpm-power.c:210] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 98962>, 'start-time': <uint64 3394449>}), '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 98962>, 'start-time': <uint64 3394449>}), '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:1446] xfpm_update_blank_time(): Prev Timeout: 0 / New Timeout: 600
TRACE[xfpm-dpms.c:336] xfpm_dpms_inhibit(): dpms inhibited TRUE
TRACE[xfpm-power.c:1463] xfpm_power_change_presentation_mode(): is_inhibit FALSE, screensaver_inhibited FALSE, presentation_mode TRUE
TRACE[xfpm-power.c:1495] xfpm_power_change_presentation_mode(): is_inhibit FALSE, screensaver_inhibited TRUE, presentation_mode TRUE
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 0
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Prev Timeout: 0 / New Timeout: 0
TRACE[xfpm-manager.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
** (xfce4-power-manager:98962): WARNING **: 18:57:24.911: No outputs have backlight property
xfce4-power-manager-Message: 18:57:24.927: Set kernel brightness switch to 1
TRACE[xfpm-backlight.c:262] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 90
TRACE[xfpm-backlight.c:283] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 120
(xfce4-power-manager:98962): xfce4-power-manager-WARNING **: 18:57:24.931: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Keine derartige Schnittstelle »org.freedesktop.UPower.KbdBacklight« des Objekts im Pfad /org/freedesktop/UPower/KbdBacklight
TRACE[xfpm-polkit.c:241] xfpm_polkit_free_data(): Destroying Polkit data
^CTRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:937] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:262] xfpm_manager_quit(): Exiting
xfce4-power-manager-Message: 19:00:58.787: Restored brightness switch value to: 1
(xfce4-power-manager:98962): Gtk-WARNING **: 19:00:58.787: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
(xfce4-power-manager:98962): Gtk-WARNING **: 19:00:58.787: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
Offline
$ ps -ef | grep power root 2552 1 0 09:32 ? 00:00:00 /usr/libexec/upowerd Clemens 85432 2613 0 17:49 ? 00:00:01 xfce4-power-manager-settings Clemens 99947 2716 0 19:03 pts/0 00:00:00 grep power
First of all, xfce4-power-manager isn't running. Make sure it autostarts - Settings Manager > Session and Startup > Application Autostart (make sure it has a check mark).
Secondly...
/xfce4-power-manager/presentation-mode true
Try turning off presentation mode - its preventing power manager actions. To do so, single-click the panel icon and disable.
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
Thanks again.
It is mysterious:
xfce4-power-manager IS in autostart.
That it could be the "presentation mode", I have already suspected, but find in MX-Linux no place where I could switch that.
Offline
That it could be the "presentation mode", I have already suspected, but find in MX-Linux no place where I could switch that.
If you have the xfce4-power-manager plugin added to the panel, left-click the plugin icon and turn it off. Alternatively, run this command:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false
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
Okay, with this command i could switch off this presentation mode.
I never needed it and I have no idea why it was turned on now.
Now the screen also goes black after the preset time.
However, reducing the brightness during inactivity does not work.
$ xfce4-power-manager --debug --no-daemon
** (xfce4-power-manager:23746): WARNING **: 22:19:03.015: 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:23746): WARNING **: 22:19:03.016: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:679] xfpm_xfconf_init(): lock screen FALSE
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-exponential
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for network-manager-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for heartbeat-command
(xfce4-power-manager:23746): GLib-GObject-WARNING **: 22:19:03.027: ../../../gobject/gsignal.c:2614: signal 'Changed' is invalid for instance '0x5623dfe12510' of type 'GDBusProxy'
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 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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:930] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
TRACE[xfpm-power.c:889] xfpm_power_add_device(): 'mouse' device added
TRACE[xfpm-power.c:898] xfpm_power_add_device(): Battery device type 'mouse' detected at: /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:23746): xfce4-power-manager-WARNING **: 22:19:03.032: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:930] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/keyboard_hid_FNP93660014J1YLA8_battery
TRACE[xfpm-power.c:889] xfpm_power_add_device(): 'keyboard' device added
TRACE[xfpm-power.c:898] xfpm_power_add_device(): Battery device type 'keyboard' detected at: /org/freedesktop/UPower/devices/keyboard_hid_FNP93660014J1YLA8_battery
TRACE[xfpm-power.c:210] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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:1446] xfpm_update_blank_time(): Prev Timeout: 120 / New Timeout: 600
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 120
TRACE[xfpm-manager.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
** (xfce4-power-manager:23746): WARNING **: 22:19:03.038: No outputs have backlight property
xfce4-power-manager-Message: 22:19:03.052: Set kernel brightness switch to 1
TRACE[xfpm-backlight.c:262] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 10
TRACE[xfpm-backlight.c:283] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 120
(xfce4-power-manager:23746): xfce4-power-manager-WARNING **: 22:19:03.055: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Keine derartige Schnittstelle »org.freedesktop.UPower.KbdBacklight« des Objekts im Pfad /org/freedesktop/UPower/KbdBacklight
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 1
TRACE[xfpm-backlight.c:133] xfpm_backlight_dim_brightness(): Current brightness level before dimming : 80, new 50
TRACE[xfpm-backlight.c:210] xfpm_backlight_reset_cb(): Alarm reset, setting level to 80
^CTRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:937] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:262] xfpm_manager_quit(): Exiting
xfce4-power-manager-Message: 22:19:30.424: Restored brightness switch value to: 1
(xfce4-power-manager:23746): Gtk-WARNING **: 22:19:30.425: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
(xfce4-power-manager:23746): Gtk-WARNING **: 22:19:30.425: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
TRACE[xfpm-polkit.c:241] xfpm_polkit_free_data(): Destroying Polkit data
Last edited by Kohlhaas (2022-11-07 21:21:13)
Offline
Can you change screen brightness at all on your laptop?
Set the timeout to as low a value as possible then run xfce4-power-manager in debug mode as above once again. Wait for the timeout to expire and then post back the debug output one more time.
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
Sorry, this is NOT a laptop.
It is an Intel NUC with an external Monitor.
Mybe this feature is only for laptops?
$ xfce4-power-manager --debug --no-daemon
** (xfce4-power-manager:23746): WARNING **: 22:19:03.015: 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:23746): WARNING **: 22:19:03.016: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:679] xfpm_xfconf_init(): lock screen FALSE
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-exponential
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for critical-power-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for brightness-on-battery
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for network-manager-sleep
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:166] xfpm_xfconf_load(): Using default configuration for heartbeat-command
(xfce4-power-manager:23746): GLib-GObject-WARNING **: 22:19:03.027: ../../../gobject/gsignal.c:2614: signal 'Changed' is invalid for instance '0x5623dfe12510' of type 'GDBusProxy'
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 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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:930] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
TRACE[xfpm-power.c:889] xfpm_power_add_device(): 'mouse' device added
TRACE[xfpm-power.c:898] xfpm_power_add_device(): Battery device type 'mouse' detected at: /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
(xfce4-power-manager:23746): xfce4-power-manager-WARNING **: 22:19:03.032: could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:180] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:930] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/keyboard_hid_FNP93660014J1YLA8_battery
TRACE[xfpm-power.c:889] xfpm_power_add_device(): 'keyboard' device added
TRACE[xfpm-power.c:898] xfpm_power_add_device(): Battery device type 'keyboard' detected at: /org/freedesktop/UPower/devices/keyboard_hid_FNP93660014J1YLA8_battery
TRACE[xfpm-power.c:210] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 23746>, 'start-time': <uint64 568014>}), '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 23746>, 'start-time': <uint64 568014>}), '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:1446] xfpm_update_blank_time(): Prev Timeout: 120 / New Timeout: 600
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 120
TRACE[xfpm-manager.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
** (xfce4-power-manager:23746): WARNING **: 22:19:03.038: No outputs have backlight property
xfce4-power-manager-Message: 22:19:03.052: Set kernel brightness switch to 1
TRACE[xfpm-backlight.c:262] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 10
TRACE[xfpm-backlight.c:283] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 120
(xfce4-power-manager:23746): xfce4-power-manager-WARNING **: 22:19:03.055: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Keine derartige Schnittstelle »org.freedesktop.UPower.KbdBacklight« des Objekts im Pfad /org/freedesktop/UPower/KbdBacklight
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 1
TRACE[xfpm-backlight.c:133] xfpm_backlight_dim_brightness(): Current brightness level before dimming : 80, new 50
TRACE[xfpm-backlight.c:210] xfpm_backlight_reset_cb(): Alarm reset, setting level to 80
^CTRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:937] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:262] xfpm_manager_quit(): Exiting
xfce4-power-manager-Message: 22:19:30.424: Restored brightness switch value to: 1
(xfce4-power-manager:23746): Gtk-WARNING **: 22:19:30.425: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
(xfce4-power-manager:23746): Gtk-WARNING **: 22:19:30.425: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
TRACE[xfpm-polkit.c:241] xfpm_polkit_free_data(): Destroying Polkit data
Last edited by Kohlhaas (2022-11-07 21:22:41)
Offline
Can you change the backlight on the NUC?
Add the "Power Manager Plugin" to the panel (if its not already there) and left-click on it. Do you see a slider for brightness?
Also, what does the following return:
ls /sys/class/backlight
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
Sorry, in Germany we have a different time zone ...
I can't find a slider for brightness in the power manager.
However, in MX-Linux there is an application "MX-Tweak" and there are settings for the brightness.
However, the slider for the backlight does not work, there are no changes.
Another slider at this point for "software (xrandr) brightness" works perfectly.
$ ls /sys/class/backlight
acpi_video0 acpi_video1
Offline
Try this first:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/handle-brightness-keys -s true
...you may need to log out and back in again for it to take effect.
If this doesn't make a difference, you may need to add some kernel parameters for it to show only one backlight interface - but we can get to this later.
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 again for support!
The brightness buttons (F1 and F2 at my keyboard) work formally: I can see in the upper right corner how the brightness SHOULD change.
But a real change of the brightness does not take place.
Offline
In that case, you need to tell the kernel which of those two backlight interfaces is the correct one. Here is a link to the backlight page on the Arch wiki. Have a read through sections 1.1 and 1.1.1 to see if you can get your system to just display one backlight interface.
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
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 721.38 KiB (Peak: 770.23 KiB) ]