Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-02-25 20:27:42

boxama
Member
Registered: 2017-02-25
Posts: 1

XFCE Power Manager is not inhibited under another desktop environment

I'm currently using XFPM under i3, on Arch Linux. I'm running it using "xfce4-session", with the power manager being in turn started by XFCE's session manager settings.
It seems to work correctly, but annoyingly, XFPM does not inhibit power management when playing video, etc.
Inhibition works correctly under a normal XFCE session, which has me confused.
I did some digging to try and find the problem, and checked /etc/xdg/xfce4/xinitrc, but it seems to pretty much just set some environment variables and then run xfce4-session.

Here's the debug log from restarting xfce4-power-manager under i3:

** (xfce4-power-manager:17214): WARNING **: 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:17214): WARNING **: 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:205] xfpm_start(): Starting the power manager

(xfce4-power-manager:17214): xfce4-power-manager-WARNING **: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
TRACE[xfpm-xfconf.c:642] xfpm_xfconf_init(): lock screen TRUE
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for heartbeat-command

(xfce4-power-manager:17214): GLib-GObject-WARNING **: gsignal.c:2523: signal 'Changed' is invalid for instance '0x1ca7bf0' of type 'GDBusProxy'
TRACE[xfpm-polkit.c:287] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 17214>, 'start-time': <uint64 804786>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 17214>, 'start-time': <uint64 804786>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 17214>, 'start-time': <uint64 804786>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 17214>, 'start-time': <uint64 804786>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:939] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[xfpm-power.c:901] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:939] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-power.c:901] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:911] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)

(xfce4-power-manager:17214): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode

TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:213] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 17214>, 'start-time': <uint64 804786>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 17214>, 'start-time': <uint64 804786>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 0
TRACE[xfpm-manager.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key

(xfce4-power-manager:17214): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed

(xfce4-power-manager:17214): xfce4-power-manager-WARNING **: Unable to set the kernel brightness switch parameter to 0.
TRACE[xfpm-backlight.c:258] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 60
TRACE[xfpm-backlight.c:279] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 60

(xfce4-power-manager:17214): xfce4-power-manager-WARNING **: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.UPower.KbdBacklight' on object at path /org/freedesktop/UPower/KbdBacklight

(xfce4-power-manager:17214): Gtk-WARNING **: Theme parsing error: <data>:1:55: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:17214): Gtk-WARNING **: Theme parsing error: <data>:1:86: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:17214): Gtk-WARNING **: Theme parsing error: <data>:1:115: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:17214): Gtk-WARNING **: Theme parsing error: <data>:1:142: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:17214): xfce4-power-manager-WARNING **: ../panel-plugins/power-manager-plugin/power-manager-button.c:829: invalid property id 2 for "show-panel-label" of type 'GParamInt' in 'PowerManagerButton'
TRACE[xfpm-manager.c:749] xfpm_manager_show_tray_icon(): Showing tray icon
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:553] power_manager_button_add_device(): entering for /org/freedesktop/UPower/devices/DisplayDevice
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:448] power_manager_button_update_device_icon_and_details(): entering for /org/freedesktop/UPower/devices/DisplayDevice
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 21, upower_icon battery-full-charging-symbolic
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:553] power_manager_button_add_device(): entering for /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:448] power_manager_button_update_device_icon_and_details(): entering for /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 10, upower_icon ac-adapter-symbolic
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:553] power_manager_button_add_device(): entering for /org/freedesktop/UPower/devices/battery_BAT1
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:448] power_manager_button_update_device_icon_and_details(): entering for /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 21, upower_icon battery-full-charging-symbolic
TRACE[xfpm-manager.c:723] xfpm_manager_tray_update_icon(): updating icon
TRACE[xfpm-manager.c:707] xfpm_manager_tray_update_tooltip(): updating tooltip
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list

The last few lines is me opening the notification tray menu to check if it is inhibited while I watch a video.

And here's the one from XFCE:

** (xfce4-power-manager:22596): WARNING **: 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:22596): WARNING **: 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:205] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:642] xfpm_xfconf_init(): lock screen TRUE
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:165] xfpm_xfconf_load(): Using default configuration for heartbeat-command

(xfce4-power-manager:22596): GLib-GObject-WARNING **: gsignal.c:2523: signal 'Changed' is invalid for instance '0x1924bf0' of type 'GDBusProxy'
TRACE[xfpm-polkit.c:287] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 22596>, 'start-time': <uint64 885959>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 22596>, 'start-time': <uint64 885959>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 22596>, 'start-time': <uint64 885959>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 22596>, 'start-time': <uint64 885959>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:939] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[xfpm-power.c:901] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:939] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-power.c:901] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:911] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)

(xfce4-power-manager:22596): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode

TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:183] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:213] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 22596>, 'start-time': <uint64 885959>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 22596>, 'start-time': <uint64 885959>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1449] xfpm_update_blank_time(): Timeout: 0
TRACE[xfpm-manager.c:645] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key

(xfce4-power-manager:22596): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed

(xfce4-power-manager:22596): xfce4-power-manager-WARNING **: Unable to set the kernel brightness switch parameter to 0.
TRACE[xfpm-backlight.c:258] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 60
TRACE[xfpm-backlight.c:279] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 60

(xfce4-power-manager:22596): xfce4-power-manager-WARNING **: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.UPower.KbdBacklight' on object at path /org/freedesktop/UPower/KbdBacklight

(xfce4-power-manager:22596): Gtk-WARNING **: Theme parsing error: <data>:1:55: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:22596): Gtk-WARNING **: Theme parsing error: <data>:1:86: The style property GtkWidget:focus-line-width is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:22596): Gtk-WARNING **: Theme parsing error: <data>:1:115: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:22596): Gtk-WARNING **: Theme parsing error: <data>:1:142: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(xfce4-power-manager:22596): xfce4-power-manager-WARNING **: ../panel-plugins/power-manager-plugin/power-manager-button.c:829: invalid property id 2 for "show-panel-label" of type 'GParamInt' in 'PowerManagerButton'
TRACE[xfpm-manager.c:749] xfpm_manager_show_tray_icon(): Showing tray icon
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:553] power_manager_button_add_device(): entering for /org/freedesktop/UPower/devices/DisplayDevice
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:448] power_manager_button_update_device_icon_and_details(): entering for /org/freedesktop/UPower/devices/DisplayDevice
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 21, upower_icon battery-full-charging-symbolic
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:553] power_manager_button_add_device(): entering for /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:448] power_manager_button_update_device_icon_and_details(): entering for /org/freedesktop/UPower/devices/line_power_ACAD
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 10, upower_icon ac-adapter-symbolic
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:553] power_manager_button_add_device(): entering for /org/freedesktop/UPower/devices/battery_BAT1
TRACE[../panel-plugins/power-manager-plugin/power-manager-button.c:448] power_manager_button_update_device_icon_and_details(): entering for /org/freedesktop/UPower/devices/battery_BAT1
TRACE[xfpm-power-common.c:190] get_device_icon_name(): icon_suffix -symbolic, icon_base_length 21, upower_icon battery-full-charging-symbolic
TRACE[xfpm-manager.c:723] xfpm_manager_tray_update_icon(): updating icon
TRACE[xfpm-manager.c:707] xfpm_manager_tray_update_tooltip(): updating tooltip
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing video sender=:1.821
TRACE[xfpm-inhibit.c:99] xfpm_inhibit_has_inhibit_changed(): Inhibit added
TRACE[xfpm-power.c:962] xfpm_power_inhibit_changed_cb(): is_inhibit TRUE, screensaver_inhibited FALSE, presentation_mode FALSE
TRACE[xfpm-power.c:987] xfpm_power_inhibit_changed_cb(): is_inhibit TRUE, screensaver_inhibited TRUE, presentation_mode FALSE
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing audio sender=:1.822
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing video sender=:1.824
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing video sender=:1.826
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing video sender=:1.828
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing audio sender=:1.829
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:206] xfpm_inhibit_connection_lost_cb(): Application=/usr/bin/vivaldi-snapshot with unique connection name=:1.821 disconnected
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:93] xfpm_inhibit_has_inhibit_changed(): Inhibit removed
TRACE[xfpm-power.c:962] xfpm_power_inhibit_changed_cb(): is_inhibit FALSE, screensaver_inhibited TRUE, presentation_mode FALSE
TRACE[xfpm-power.c:987] xfpm_power_inhibit_changed_cb(): is_inhibit FALSE, screensaver_inhibited FALSE, presentation_mode FALSE
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing video sender=:1.831
TRACE[xfpm-inhibit.c:99] xfpm_inhibit_has_inhibit_changed(): Inhibit added
TRACE[xfpm-power.c:962] xfpm_power_inhibit_changed_cb(): is_inhibit TRUE, screensaver_inhibited FALSE, presentation_mode FALSE
TRACE[xfpm-power.c:987] xfpm_power_inhibit_changed_cb(): is_inhibit TRUE, screensaver_inhibited TRUE, presentation_mode FALSE
TRACE[xfpm-polkit.c:244] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-inhibit.c:405] xfpm_inhibit_inhibit(): Inhibit send application name=/usr/bin/vivaldi-snapshot reason=Playing audio sender=:1.832
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list
TRACE[xfpm-inhibit.c:309] xfpm_inhibit_get_inhibit_list(): entering xfpm_inhibit_get_inhibit_list
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:206] xfpm_inhibit_connection_lost_cb(): Application=/usr/bin/vivaldi-snapshot with unique connection name=:1.831 disconnected
TRACE[xfpm-inhibit.c:423] xfpm_inhibit_un_inhibit(): UnHibit message received
TRACE[xfpm-inhibit.c:93] xfpm_inhibit_has_inhibit_changed(): Inhibit removed
TRACE[xfpm-power.c:962] xfpm_power_inhibit_changed_cb(): is_inhibit FALSE, screensaver_inhibited TRUE, presentation_mode FALSE
TRACE[xfpm-power.c:987] xfpm_power_inhibit_changed_cb(): is_inhibit FALSE, screensaver_inhibited FALSE, presentation_mode FALSE

As you can from the end of this one, under XFCE XFPM successfully receives and handles inhibit requests.

I think perhaps the problem is $SESSION_MANAGER not being properly defined under i3, but I'm not sure why that would be.

(xfce4-power-manager:29051): xfce4-power-manager-WARNING **: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

Does anyone know what I'm missing? I don't want to run i3 under XFCE because it seems to take significantly longer to load for some reason, and I don't think this is intentional behaviour regardless.

Thanks for reading, if you got through all that

Last edited by boxama (2017-02-25 20:39:13)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 630.77 KiB (Peak: 697.47 KiB) ]