ANNOUNCE: xfce4-power-manager 0.8.4 released

Robby Workman rw at rlworkman.net
Sat Oct 10 00:50:19 CEST 2009


On Tue, 29 Sep 2009 07:21:20 +0000 (UTC)
Ali Abdallah <aliov at xfce.org> wrote:

> xfce4-power-manager 0.8.4 is now available...
>   <snippage> 
> Release notes for 0.8.4
> =======================
> 
> - Don't lock screen on lid event when multiple monitor are connected.
> - Force DPMSModeOff on lid close event if it is not done in Hardware.
> - Fix a crash in set_client_id (bug #5673).
> - Reduce memory usage.


Someone in #xfce on IRC (I forgot who) reported that the systray
icon no longer showed up in 0.8.4, and now that I've finally
found time to upgrade here, I can duplicate it.  Fulld debug info
doesn't appear to have anything useful, but here it is just in case:

liberty $ xfce4-power-manager --no-daemon                                                           
TRACE[xfpm-main.c:80] xfpm_start(): Starting the power manager
TRACE[xfpm-adapter.c:95] xfpm_adapter_set_device(): Found AC Adapter with udi=/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_AC

TRACE[xfpm-adapter.c:149] xfpm_adapter_init(): System is identified as a laptop
TRACE[xfpm-xfconf.c:154] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:154] xfpm_xfconf_load(): Using default configuration for change-brightness-on-key-events
TRACE[xfpm-xfconf.c:154] xfpm_xfconf_load(): Using default configuration for power-button-action
TRACE[xfpm-xfconf.c:154] xfpm_xfconf_load(): Using default configuration for hibernate-button-action
TRACE[xfpm-xfconf.c:154] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:154] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode
TRACE[xfpm-engine.c:426] xfpm_engine_set_inactivity_timeouts(): setting inactivity sleep timeout on ac to never
TRACE[xfpm-engine.c:430] xfpm_engine_set_inactivity_timeouts(): setting inactivity sleep timeout on battery to never
TRACE[xfpm-cpu.c:253] xfpm_cpu_get_available_governors(): found CPU governor ondemand
TRACE[xfpm-cpu.c:253] xfpm_cpu_get_available_governors(): found CPU governor userspace

(xfce4-power-manager:8103): xfce4-power-manager-WARNING **: No convenient cpu governors found on the system, cpu frequency control will be disabled
TRACE[xfpm-supply.c:479] xfpm_supply_add_battery(): New battery found /org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0
TRACE[xfpm-battery.c:522] xfpm_battery_refresh(): Battery status is_present TRUE is_charging FALSE is_discharging FALSE
TRACE[xfpm-battery.c:525] xfpm_battery_refresh(): Battery info precentage 96 last_full 56710 current_charge 54490 time_per 0
TRACE[xfpm-battery.c:428] xfpm_battery_refresh_primary(): Start
TRACE[xfpm-battery.c:440] xfpm_battery_refresh_primary(): battery state : ((XfpmBatteryState) BATTERY_NOT_FULLY_CHARGED)
TRACE[xfpm-battery.c:365] xfpm_battery_refresh_common(): battery state change : ((XfpmBatteryState) BATTERY_NOT_FULLY_CHARGED)
TRACE[xfpm-battery.c:366] xfpm_battery_refresh_common(): Emitting signal battery state changed
TRACE[xfpm-supply.c:249] xfpm_supply_refresh_tray_icon(): Tray icon configuration:  : ((XfpmShowIcon) SHOW_ICON_ALWAYS)
TRACE[xfpm-supply.c:249] xfpm_supply_refresh_tray_icon(): Tray icon configuration:  : ((XfpmShowIcon) SHOW_ICON_ALWAYS)
TRACE[xfpm-button-xf86.c:179] xfpm_button_xf86_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)

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

TRACE[xfpm-button-xf86.c:179] xfpm_button_xf86_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button-xf86.c:179] xfpm_button_xf86_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button-xf86.c:179] xfpm_button_xf86_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button-xf86.c:179] xfpm_button_xf86_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-brightness-hal.c:187] xfpm_brightness_hal_setup(): Found laptop_panel with udi=/org/freedesktop/Hal/devices/computer_backlight

TRACE[xfpm-brightness-hal.c:166] xfpm_brightness_hal_get_device(): laptop_panel.num_levels=15

TRACE[xfpm-brightness-hal.c:192] xfpm_brightness_hal_setup(): Current hw level =15


*****
Update... (yes, I pasted all this and then messed with it some more).
*****

After messing with the "when to show an icon" settings some more, 
the icon has magically appeared.  Note that it was *already* supposed
to "Always Show Icon" -- all I did was select the other options one
by one, eventually re-selecting "Always Show Icon" before closing
the settings dialog.  Here's what scrolled through the debug output
while I did all this:

TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/dpms-enabled

TRACE[xfpm-dpms.c:207] xfpm_dpms_settings_changed_cb(): Configuration changed
TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/dpms-enabled

TRACE[xfpm-dpms.c:207] xfpm_dpms_settings_changed_cb(): Configuration changed
TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/general-notification

TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/general-notification

TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/show-tray-icon

TRACE[xfpm-supply.c:249] xfpm_supply_refresh_tray_icon(): Tray icon configuration:  : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_PRESENT)
TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/show-tray-icon

TRACE[xfpm-supply.c:249] xfpm_supply_refresh_tray_icon(): Tray icon configuration:  : ((XfpmShowIcon) SHOW_ICON_WHEN_BATTERY_CHARGING_DISCHARGING)
TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/show-tray-icon

TRACE[xfpm-supply.c:249] xfpm_supply_refresh_tray_icon(): Tray icon configuration:  : ((XfpmShowIcon) NEVER_SHOW_ICON)
TRACE[xfpm-xfconf.c:181] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/show-tray-icon

TRACE[xfpm-supply.c:249] xfpm_supply_refresh_tray_icon(): Tray icon configuration:  : ((XfpmShowIcon) SHOW_ICON_ALWAYS)


Oddly enough, killing xfpm and restarting it results in the same
problem.  Perhaps related to this commit?

commit 73f412645e0d67ad9039f7572892f844dbb9a915
Author: Ali Abdallah <ali at ali-xfce.org>
Date:   Mon Aug 31 10:08:09 2009 +0000

    Put the icon prefix in one place+get rid of a useless icon load function

-RW



More information about the Xfce mailing list