On Wed, 2007-11-14 at 18:24 +0000, Richard Hughes wrote: > Hmmm. Have you got a screenshot? If it's an icon that can't be found > then we just show the GTK broken icon picture. > Perhaps. Can you get me the output of " > > killall gnome-power-manager > gnome-power-manager --no-daemon --verbose > > " please. The debug spew should tell us what it's looking for. Hi Richard, Sorry for the delay, I am on the road (with dial-up only). I will be back on ethernet/wireless tomorrow. Here is: (a) the output of gnome-power-manager --nodaemon --verbose (power_manager.txt) on starting up resulting in an incorrect icon display, (b) a JPEG image of my gnome panel, where the gnome-power-manager icon is the icon showing a page with a "turned-up" corner, which is immediately to the left of the "Show Desktop" icon (power_manager.jpg). As regards the output of gnome-power-manager --nodaemon --verbose, the file /home/vine/.gnome2/gnome-power-manager/webcam.png exists while/after running gnome-power-manager, but it is of zero size, but I do not think that has any relevance (I get the same with a working configuration). I will send a separate e-mail with the results where version 2.20.1 is installed on top of version 2.18.3, which displays the icon correctly. Chris
Attachment:
power_manager.jpg
Description: JPEG image
vine laptop:~$ gnome-power-manager --no-daemon --verbose [gpm_debug_init] gpm-debug.c:236 (16:07:39): Verbose debugging enabled [main] gpm-main.c:218 (16:07:39): GNOME Power Manager 2.20.1 [gpm_ac_adapter_init] gpm-ac-adapter.c:217 (16:07:39): using /org/freedesktop/Hal/devices/acpi_ADP0 [gpm_control_init] gpm-control.c:657 (16:07:39): Using a supressed policy timeout of 5 seconds [coldplug_buttons] gpm-button.c:448 (16:07:39): Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_1 [coldplug_buttons] gpm-button.c:448 (16:07:39): Watching /org/freedesktop/Hal/devices/computer_logicaldev_input_0 [coldplug_buttons] gpm-button.c:448 (16:07:39): Watching /org/freedesktop/Hal/devices/computer_logicaldev_input [coldplug_buttons] gpm-button.c:448 (16:07:39): Watching /org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input ** (gnome-power-manager:11923): WARNING **: DBUS error: Could not get owner of name 'org.gnome.ScreenSaver': no such name ** (gnome-power-manager:11923): DEBUG: proxy is NULL, maybe the daemon responsible for org.gnome.ScreenSaver is not running? *** WARNING *** [gpm_screensaver_proxy_connect_more] gpm-screensaver.c:119 (16:07:39): not connected [gpm_webcam_get_image] gpm-webcam.c:91 (16:07:39): Creating source /dev/video0 [gpm_webcam_get_image] gpm-webcam.c:99 (16:07:40): Creating sink /home/vine/.gnome2/gnome-power-manager/webcam.png [gpm_webcam_get_image] gpm-webcam.c:106 (16:07:40): Link together [gpm_webcam_get_image] gpm-webcam.c:114 (16:07:40): Set playing [gpm_webcam_get_image] gpm-webcam.c:139 (16:07:40): Cleanup [gpm_prefs_server_set_capability] gpm-prefs-server.c:84 (16:07:40): capability now 4 *** WARNING *** [gpm_light_sensor_get_absolute] gpm-light-sensor.c:149 (16:07:40): no hardware! *** WARNING *** [gpm_backlight_brightness_evaluate_and_set] gpm-backlight.c:361 (16:07:40): no dimming hardware [gpm_backlight_sync_policy] gpm-backlight.c:158 (16:07:40): choosing sensible default [gpm_backlight_sync_policy] gpm-backlight.c:160 (16:07:40): laptop, so use GPM_DPMS_METHOD_OFF [gpm_backlight_sync_policy] gpm-backlight.c:192 (16:07:40): BACKLIGHT parameters 0 0 1800, method '4' [gpm_dpms_set_enabled] gpm-dpms.c:408 (16:07:40): setting DPMS enabled: 1 [x11_sync_server_dpms_settings] gpm-dpms.c:130 (16:07:40): Syncing DPMS settings enabled=1 timeouts=0 0 0 [x11_sync_server_dpms_settings] gpm-dpms.c:130 (16:07:40): Syncing DPMS settings enabled=1 timeouts=0 0 0 [gpm_idle_set_check_cpu] gpm-idle.c:236 (16:07:40): Setting the CPU load check to 0 [gpm_manager_init] gpm-manager.c:1763 (16:07:40): creating new inhibit instance [gpm_manager_init] gpm-manager.c:1773 (16:07:40): creating new control instance [gpm_manager_init] gpm-manager.c:1778 (16:07:40): creating new tray icon [gpm_manager_init] gpm-manager.c:1787 (16:07:40): initialising info infrastructure [gpm_profile_init] gpm-profile.c:909 (16:07:40): creating new control instance [gpm_profile_init] gpm-profile.c:930 (16:07:40): on AC [gpm_idle_set_system_timeout] gpm-idle.c:287 (16:07:40): Setting system idle timeout: 0 [gpm_warnings_init] gpm-warnings.c:266 (16:07:40): Using per-time notification policy [gpm_phone_dbus_connect] gpm-phone.c:267 (16:07:40): get connection [gpm_phone_dbus_connect] gpm-phone.c:278 (16:07:40): get proxy *** WARNING *** [gpm_phone_dbus_connect] gpm-phone.c:286 (16:07:40): Cannot connect, maybe the daemon is not running: Could not get owner of name 'org.gnome.phone': no such name [gpm_check_device_key] gpm-cell-array.c:714 (16:07:40): checking primary against primary [gpm_cell_array_add_hal_udi] gpm-cell-array.c:786 (16:07:40): adding the right kind of battery: primary [gpm_cell_unit_print] gpm-cell-unit.c:65 (16:07:40): device Laptop battery [gpm_cell_unit_print] gpm-cell-unit.c:66 (16:07:40): present 1 [gpm_cell_unit_print] gpm-cell-unit.c:67 (16:07:40): percent 95 [gpm_cell_unit_print] gpm-cell-unit.c:68 (16:07:40): is charging 0 [gpm_cell_unit_print] gpm-cell-unit.c:69 (16:07:40): is discharging 0 [gpm_cell_unit_print] gpm-cell-unit.c:71 (16:07:40): charge current 26817 [gpm_cell_unit_print] gpm-cell-unit.c:74 (16:07:40): charge last 28060 [gpm_cell_unit_print] gpm-cell-unit.c:77 (16:07:40): charge design 32560 [gpm_cell_unit_print] gpm-cell-unit.c:89 (16:07:40): capacity 86 [gpm_cell_unit_print] gpm-cell-unit.c:92 (16:07:40): voltage 16525 [gpm_profile_set_config_id] gpm-profile.c:782 (16:07:40): config_id = G320 [gpm_profile_load_data] gpm-profile.c:733 (16:07:40): loading battery data from '/home/vine/.gnome2/gnome-power-manager/profile-G320-discharging.csv' [gpm_profile_load_data] gpm-profile.c:733 (16:07:40): loading battery data from '/home/vine/.gnome2/gnome-power-manager/profile-G320-charging.csv' [gpm_profile_set_config_id] gpm-profile.c:801 (16:07:40): Reference times [gpm_profile_set_config_id] gpm-profile.c:803 (16:07:40): 99-0 74 minutes [gpm_profile_set_config_id] gpm-profile.c:805 (16:07:40): 50-0 35 minutes [gpm_profile_set_config_id] gpm-profile.c:808 (16:07:40): 0-99 110 minutes [gpm_profile_set_config_id] gpm-profile.c:810 (16:07:40): 50-99 64 minutes [gpm_cell_array_update] gpm-cell-array.c:344 (16:07:40): 1 devices of type primary [gpm_cell_array_update] gpm-cell-array.c:391 (16:07:40): unit->percentage = 95 [gpm_cell_array_collection_changed] gpm-cell-array.c:748 (16:07:40): ** EMIT: collection-changed [gpm_engine_recalculate_state] gpm-engine.c:632 (16:07:40): ignoring due to coldplug [gpm_cell_array_percent_changed] gpm-cell-array.c:524 (16:07:40): printing combined new device: [gpm_cell_unit_print] gpm-cell-unit.c:65 (16:07:40): device Laptop battery [gpm_cell_unit_print] gpm-cell-unit.c:66 (16:07:40): present 1 [gpm_cell_unit_print] gpm-cell-unit.c:67 (16:07:40): percent 95 [gpm_cell_unit_print] gpm-cell-unit.c:68 (16:07:40): is charging 0 [gpm_cell_unit_print] gpm-cell-unit.c:69 (16:07:40): is discharging 0 [gpm_cell_unit_print] gpm-cell-unit.c:71 (16:07:40): charge current 26817 [gpm_cell_unit_print] gpm-cell-unit.c:74 (16:07:40): charge last 28060 [gpm_cell_unit_print] gpm-cell-unit.c:77 (16:07:40): charge design 32560 [gpm_cell_unit_print] gpm-cell-unit.c:83 (16:07:40): time charge 796 [gpm_cell_unit_print] gpm-cell-unit.c:86 (16:07:40): time discharge 4311 [gpm_cell_unit_print] gpm-cell-unit.c:92 (16:07:40): voltage 16525 [gpm_cell_array_percent_changed] gpm-cell-array.c:554 (16:07:40): No warning [gpm_cell_array_update] gpm-cell-array.c:344 (16:07:40): 1 devices of type primary [gpm_cell_array_update] gpm-cell-array.c:391 (16:07:40): unit->percentage = 95 [gpm_check_device_key] gpm-cell-array.c:714 (16:07:40): checking primary against ups [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:07:40): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for ups [gpm_cell_array_update] gpm-cell-array.c:277 (16:07:40): no devices of type 1 [gpm_check_device_key] gpm-cell-array.c:714 (16:07:40): checking primary against mouse [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:07:40): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for mouse [gpm_cell_array_update] gpm-cell-array.c:277 (16:07:40): no devices of type 2 [gpm_check_device_key] gpm-cell-array.c:714 (16:07:40): checking primary against keyboard [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:07:40): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for keyboard [gpm_cell_array_update] gpm-cell-array.c:277 (16:07:40): no devices of type 3 [gpm_check_device_key] gpm-cell-array.c:714 (16:07:40): checking primary against pda [gpm_cell_array_add_hal_udi] gpm-cell-array.c:774 (16:07:40): not adding /org/freedesktop/Hal/devices/acpi_BAT0 for pda [gpm_cell_array_update] gpm-cell-array.c:277 (16:07:40): no devices of type 5 *** WARNING *** [gpm_phone_coldplug] gpm-phone.c:79 (16:07:40): not connected [gpm_cell_array_update] gpm-cell-array.c:277 (16:07:40): no devices of type 4 [gpm_prefs_server_set_capability] gpm-prefs-server.c:84 (16:07:40): capability now 12 [gpm_engine_get_icon] gpm-engine.c:391 (16:07:40): Trying CRITICAL icon: primary, ups, mouse, keyboard *** WARNING *** [gpm_warnings_get_state_percentage] gpm-warnings.c:104 (16:07:40): percentage zero, something's gone wrong *** WARNING *** [gpm_warnings_get_state_percentage] gpm-warnings.c:104 (16:07:40): percentage zero, something's gone wrong *** WARNING *** [gpm_warnings_get_state_percentage] gpm-warnings.c:104 (16:07:40): percentage zero, something's gone wrong [gpm_engine_get_icon] gpm-engine.c:423 (16:07:40): Trying CHARGING icon: primary, ups [gpm_engine_get_icon] gpm-engine.c:440 (16:07:40): Trying PRESENT icon: primary, ups [gpm_cell_unit_get_icon] gpm-cell-unit.c:210 (16:07:40): got filename: gpm-primary-charged [gpm_engine_recalculate_state_icon] gpm-engine.c:563 (16:07:40): ** EMIT: icon-changed: gpm-primary-charged [gpm_tray_icon_set_icon] gpm-tray-icon.c:173 (16:07:40): Setting icon to gpm-primary-charged [gpm_cell_array_get_description] gpm-cell-array.c:960 (16:07:41): accuracy = 100 [gpm_engine_get_summary] gpm-engine.c:349 (16:07:41): tooltip: Computer is running on AC power Laptop battery fully charged (95%) Provides 1 hour 10 minutes battery runtime Battery charge time is estimated [gpm_engine_recalculate_state_summary] gpm-engine.c:603 (16:07:41): ** EMIT: summary-changed(1): Computer is running on AC power Laptop battery fully charged (95%) Provides 1 hour 10 minutes battery runtime Battery charge time is estimated [gconf_key_changed_cb] gpm-conf.c:332 (16:07:41): emitting value-changed : '/apps/gnome-screensaver/power_management_delay' [gconf_key_changed_cb] gpm-screensaver.c:181 (16:07:41): key : /apps/gnome-screensaver/power_management_delay [hal_device_property_modified_cb] gpm-cell.c:249 (16:08:02): udi=/org/freedesktop/Hal/devices/acpi_BAT0, key=battery.voltage.current, added=0, removed=0, finally=1 [hal_device_property_modified_cb] gpm-cell.c:249 (16:08:32): udi=/org/freedesktop/Hal/devices/acpi_BAT0, key=battery.voltage.current, added=0, removed=0, finally=1 [hal_device_property_modified_cb] gpm-cell.c:249 (16:09:02): udi=/org/freedesktop/Hal/devices/acpi_BAT0, key=battery.voltage.current, added=0, removed=0, finally=1