Summary: | gnome-extra/gnome-power-manager-2.28.1 no hibernate/suspend support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabiano Francesconi <fabiano.francesconi> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | rcoffree, waterloo2005 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=597490 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 222551 | ||
Bug Blocks: | 288249 | ||
Attachments: |
emerge --info
$HOME/.xsession-errors |
Description
Fabiano Francesconi
2009-10-31 09:38:56 UTC
Created attachment 208836 [details]
emerge --info
I have the same problem. I can not see gnome-power-manager icon in gnome-panel. I can not see `restart' and `shutdown' icon even. (In reply to comment #2) > I have the same problem. > I can not see gnome-power-manager icon in gnome-panel. > I can not see `restart' and `shutdown' icon even. > after I re-emerge dbus. I can see restart and shut_down. But I still can not see gnome-power-manager2.28 icon in gnome-panel. Now my gnome-panel is still 2.26. (In reply to comment #3) > (In reply to comment #2) > > I have the same problem. > > I can not see gnome-power-manager icon in gnome-panel. > > I can not see `restart' and `shutdown' icon even. > > > > after I re-emerge dbus. I can see restart and shut_down. > But I still can not see gnome-power-manager2.28 icon in gnome-panel. > Now my gnome-panel is still 2.26. > Try to adjust the settings. Now there seems to not be present anymore the old behavior (show icon only if a battery is attached). You should be able to restore the tray icon by selecting "show always" option. (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > I have the same problem. > > > I can not see gnome-power-manager icon in gnome-panel. > > > I can not see `restart' and `shutdown' icon even. > > > > > > > after I re-emerge dbus. I can see restart and shut_down. > > But I still can not see gnome-power-manager2.28 icon in gnome-panel. > > Now my gnome-panel is still 2.26. > > > > Try to adjust the settings. Now there seems to not be present anymore the old > behavior (show icon only if a battery is attached). > > You should be able to restore the tray icon by selecting "show always" option. > Yes, I can see the icon now. But in the setting , I can not see `On battery' tab. And I can not see `suspend' and `hibernate' menu items when right pointing the icon. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > (In reply to comment #2) > > > > I have the same problem. > > > > I can not see gnome-power-manager icon in gnome-panel. > > > > I can not see `restart' and `shutdown' icon even. > > > > > > > > > > after I re-emerge dbus. I can see restart and shut_down. > > > But I still can not see gnome-power-manager2.28 icon in gnome-panel. > > > Now my gnome-panel is still 2.26. > > > > > > > Try to adjust the settings. Now there seems to not be present anymore the old > > behavior (show icon only if a battery is attached). > > > > You should be able to restore the tray icon by selecting "show always" option. > > > > Yes, I can see the icon now. > But in the setting , I can not see `On battery' tab. > And I can not see `suspend' and `hibernate' menu items when right pointing the > icon. > That's why I've opened this bug report ;) apps/gnome-power-manager/ui/show_actions_in_menu ;) it's not a bug, see https://bugzilla.gnome.org/show_bug.cgi?id=597490 (In reply to comment #7) > apps/gnome-power-manager/ui/show_actions_in_menu ;) > > it's not a bug, see https://bugzilla.gnome.org/show_bug.cgi?id=597490 > gconftool-2 -g /apps/gnome-power-manager/ui/show_actions_in_menu true No buttons here mhhh... you're on a stable system. - well, what are your version of devicekit-power ? - Any messages in .xsession-errors ? did you reload dbus or restarted computer since update ? (In reply to comment #9) > mhhh... you're on a stable system. > - well, what are your version of devicekit-power ? > - Any messages in .xsession-errors ? > I set apps/gnome-power-manager/ui/show_actions_in_menu , but still can not see action menu. my devicekit-power is 011. I find `(gnome-power-manager:4946): devkit-power-gobject-WARNING **: No 'DaemonVersion' property ' in .xsession-errors. I have restart many times. This is my actual configuration: dev-libs/glib-2.22.2 sys-auth/consolekit-0.4.1 sys-apps/devicekit-003 sys-apps/devicekit-power-009 x11-libs/gtk+-2.18.3 gnome-extra/gnome-power-manager-2.28.1 I didn't want to unmask devicekit-power-011 since I don't want to unmask too many packages right now, especially udev's ones :P I attach my .xsession-errors logfile And, of course, I've restarted the machine more than once. Created attachment 208928 [details]
$HOME/.xsession-errors
This is most likely related to your /not/ using a newer devicekit-power. Please verify that that is the case so we can update the dependencies if required. See http://www.faulhammer.org/archiv-mainmenu-31/35-gentoo/307-testers-wanted-for-x86 for details on how to keyword udev and friends. Could you try the following command : dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call --print-reply=yes /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend ==> if it works, it will suspend your system (gnome-power-manager uses devkit-power for suspend and hibernate stuffs) (In reply to comment #15) > Could you try the following command : > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call > --print-reply=yes /org/freedesktop/DeviceKit/Power > org.freedesktop.DeviceKit.Power.Suspend > > ==> if it works, it will suspend your system (gnome-power-manager uses > devkit-power for suspend and hibernate stuffs) > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call --print-reply=yes /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success (In reply to comment #15) > Could you try the following command : > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call > --print-reply=yes /org/freedesktop/DeviceKit/Power > org.freedesktop.DeviceKit.Power.Suspend > > ==> if it works, it will suspend your system (gnome-power-manager uses > devkit-power for suspend and hibernate stuffs) > I use sys-apps/devicekit-power 011. Using your command , I can suspend. but after resume , color maybe does not have enough bits. I find there comes devicekit-power 012 (In reply to comment #16) > (In reply to comment #15) > > Could you try the following command : > > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call > > --print-reply=yes /org/freedesktop/DeviceKit/Power > > org.freedesktop.DeviceKit.Power.Suspend > > > > ==> if it works, it will suspend your system (gnome-power-manager uses > > devkit-power for suspend and hibernate stuffs) > > > > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call > --print-reply=yes /org/freedesktop/DeviceKit/Power > org.freedesktop.DeviceKit.Power.Suspend > > Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program > /usr/libexec/dbus-daemon-launch-helper: Success > Apparently you've a problem with dbus... @dang: no ideas ? (In reply to comment #19) > (In reply to comment #16) > > (In reply to comment #15) > > > Could you try the following command : > > > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call > > > --print-reply=yes /org/freedesktop/DeviceKit/Power > > > org.freedesktop.DeviceKit.Power.Suspend > > > > > > ==> if it works, it will suspend your system (gnome-power-manager uses > > > devkit-power for suspend and hibernate stuffs) > > > > > > > dbus-send --system --dest=org.freedesktop.DeviceKit.Power --type=method_call > > --print-reply=yes /org/freedesktop/DeviceKit/Power > > org.freedesktop.DeviceKit.Power.Suspend > > > > Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program > > /usr/libexec/dbus-daemon-launch-helper: Success > > > > Apparently you've a problem with dbus... > @dang: no ideas ? > or maybe some policies? could you paste the output of: $ ls -l /usr/libexec/dbus-daemon-launch-helper (In reply to comment #21) > could you paste the output of: > $ ls -l /usr/libexec/dbus-daemon-launch-helper > -rws--x--- 1 root root 100840 1 set 22:44 /usr/libexec/dbus-daemon-launch-helper Ok, that might relate to bug #222551. Could you run: # chgrp messagebus /usr/libexec/dbus-daemon-launch-helper as root, and try again the dbus command as your user ? I ran into bug #281640 and I've re-emerged dbus. Then I've restarted dbus and now everything seems to be working just fine. I think isn't necessary to issue the command above. (In reply to comment #24) > I ran into bug #281640 and I've re-emerged dbus. > Then I've restarted dbus and now everything seems to be working just fine. > > I think isn't necessary to issue the command above. > For the record, power chronology (don't know if it's the right translation of that command) wasn't showing up correctly. Now that seems to work as well. Ok I guess that's really bug #222551 after all. Thanks for reporting. (In reply to comment #21) > could you paste the output of: > $ ls -l /usr/libexec/dbus-daemon-launch-helper > My problem still exists. -rws--x--- 1 root messagebus 100576 2009-11-02 10:50 /usr/libexec/dbus-daemon-launch-helper (this is my origional setting) And I re-emerge dbus, restart. I still can not see suspend and hibernate menu items. Thanks (In reply to comment #27) > (In reply to comment #21) > > could you paste the output of: > > $ ls -l /usr/libexec/dbus-daemon-launch-helper > > > My problem still exists. > -rws--x--- 1 root messagebus 100576 2009-11-02 10:50 > /usr/libexec/dbus-daemon-launch-helper (this is my origional setting) > And I re-emerge dbus, restart. > I still can not see suspend and hibernate menu items. > > Thanks > could you run "devkit-power"? It should give you no output but, before re-emering dbus, it gave me some errors. (In reply to comment #28) > (In reply to comment #27) > > (In reply to comment #21) > > > could you paste the output of: > > > $ ls -l /usr/libexec/dbus-daemon-launch-helper > > > > > My problem still exists. > > -rws--x--- 1 root messagebus 100576 2009-11-02 10:50 > > /usr/libexec/dbus-daemon-launch-helper (this is my origional setting) > > And I re-emerge dbus, restart. > > I still can not see suspend and hibernate menu items. > > > > Thanks > > > > could you run "devkit-power"? > It should give you no output but, before re-emering dbus, it gave me some > errors. > I run devkit-power, it gives nothing. (In reply to comment #29) > (In reply to comment #28) > > (In reply to comment #27) > > > (In reply to comment #21) > > > > could you paste the output of: > > > > $ ls -l /usr/libexec/dbus-daemon-launch-helper > > > > > > > My problem still exists. > > > -rws--x--- 1 root messagebus 100576 2009-11-02 10:50 > > > /usr/libexec/dbus-daemon-launch-helper (this is my origional setting) > > > And I re-emerge dbus, restart. > > > I still can not see suspend and hibernate menu items. > > > > > > Thanks > > > > > > > could you run "devkit-power"? > > It should give you no output but, before re-emering dbus, it gave me some > > errors. > > > > I run devkit-power, it gives nothing. > Then, could you issue: gconftool-2 -g /apps/gnome-power-manager/ui/show_actions_in_menu (In reply to comment #30) > (In reply to comment #29) > > (In reply to comment #28) > > > (In reply to comment #27) > > > > (In reply to comment #21) > > > > > could you paste the output of: > > > > > $ ls -l /usr/libexec/dbus-daemon-launch-helper > > > > > > > > > My problem still exists. > > > > -rws--x--- 1 root messagebus 100576 2009-11-02 10:50 > > > > /usr/libexec/dbus-daemon-launch-helper (this is my origional setting) > > > > And I re-emerge dbus, restart. > > > > I still can not see suspend and hibernate menu items. > > > > > > > > Thanks > > > > > > > > > > could you run "devkit-power"? > > > It should give you no output but, before re-emering dbus, it gave me some > > > errors. > > > > > > > I run devkit-power, it gives nothing. > > > > Then, could you issue: > gconftool-2 -g /apps/gnome-power-manager/ui/show_actions_in_menu > when I run that , i get true. Whats going on here? I just tried out ubuntu and behold there is a new power button applet that contains the suspend and hibernate functionality, which the default on the power-manager is crippled. (In reply to comment #31) > (In reply to comment #30) > > (In reply to comment #29) > > > (In reply to comment #28) > > > > (In reply to comment #27) > > > > > (In reply to comment #21) > > > > > > could you paste the output of: > > > > > > $ ls -l /usr/libexec/dbus-daemon-launch-helper > > > > > > > > > > > My problem still exists. > > > > > -rws--x--- 1 root messagebus 100576 2009-11-02 10:50 > > > > > /usr/libexec/dbus-daemon-launch-helper (this is my origional setting) > > > > > And I re-emerge dbus, restart. > > > > > I still can not see suspend and hibernate menu items. > > > > > > > > > > Thanks > > > > > > > > > > > > > could you run "devkit-power"? > > > > It should give you no output but, before re-emering dbus, it gave me some > > > > errors. > > > > > > > > > > I run devkit-power, it gives nothing. > > > > > > > Then, could you issue: > > gconftool-2 -g /apps/gnome-power-manager/ui/show_actions_in_menu > > > > when I run that , i get true. > I've seen very similar problems to those described here - after upgrading to g-p-m 2.28 (from 2.22) its mostly non-functional. After trying everything described, and not getting too far, I finally discovered this post: http://www.mail-archive.com/networkmanager-list@gnome.org/msg14117.html The relevant piece of which is: > what version of dbus-glib? Earlier versions had problems > with GetAll specifically. You may need these dbus-glib commits: I upgraded from dbus-glib-0.76 to 0.80, restarted devicekit-power-daemon and my problem went away. The obvious symptom here was that devkit-power -v would complain: (devkit-power:1628): devkit-power-gobject-WARNING **: No 'DaemonVersion' property DeviceKit-power client version 012 DeviceKit-power daemon version (null) perhaps devicekit-power should depend on >=dbus-glib-0.80 (In reply to comment #33) > I've seen very similar problems to those described here - after upgrading to > g-p-m 2.28 (from 2.22) its mostly non-functional. > > After trying everything described, and not getting too far, I finally > discovered this post: > http://www.mail-archive.com/networkmanager-list@gnome.org/msg14117.html > > The relevant piece of which is: > > > what version of dbus-glib? Earlier versions had problems > > with GetAll specifically. You may need these dbus-glib commits: > > I upgraded from dbus-glib-0.76 to 0.80, restarted devicekit-power-daemon and my > problem went away. > > The obvious symptom here was that devkit-power -v would complain: > (devkit-power:1628): devkit-power-gobject-WARNING **: No 'DaemonVersion' > property > DeviceKit-power client version 012 > DeviceKit-power daemon version (null) > > perhaps devicekit-power should depend on >=dbus-glib-0.80 > I update dbus-glib to 0.82 . Now I can see `On Battery power' tab in Preferences of gnome-power-manager. But I still can not see `hibernate' and `suspend' when right click the icon of gnome-power-manager. Thanks (In reply to comment #33) > I've seen very similar problems to those described here - after upgrading to > g-p-m 2.28 (from 2.22) its mostly non-functional. > > After trying everything described, and not getting too far, I finally > discovered this post: > http://www.mail-archive.com/networkmanager-list@gnome.org/msg14117.html > > The relevant piece of which is: > > > what version of dbus-glib? Earlier versions had problems > > with GetAll specifically. You may need these dbus-glib commits: > > I upgraded from dbus-glib-0.76 to 0.80, restarted devicekit-power-daemon and my > problem went away. > > The obvious symptom here was that devkit-power -v would complain: > (devkit-power:1628): devkit-power-gobject-WARNING **: No 'DaemonVersion' > property > DeviceKit-power client version 012 > DeviceKit-power daemon version (null) > > perhaps devicekit-power should depend on >=dbus-glib-0.80 > I update dbus-glib to 0.82 . Now I can see `On Battery power' tab in Preferences of gnome-power-manager. But I still can not see `hibernate' and `suspend' when right click the icon of gnome-power-manager. I can see `hibernate' and `suspend' in the `shut down' window. Thanks sorry, I now can see `suspend' and `hibernate' in left clicking icon of gnome-power-manager. |