Bug 681126 - Don't work reboot/shutdown in Icewm
Summary: Don't work reboot/shutdown in Icewm
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: All SUSE Other
: P3 - Medium : Normal with 5 votes (vote)
Target Milestone: ---
Assignee: Michal Marek
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 22:27 UTC by Alexey Tkachev
Modified: 2012-03-09 14:34 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Tkachev 2011-03-20 22:27:00 UTC
User-Agent:       Opera/9.80 (X11; Linux i686; U; en) Presto/2.7.62 Version/11.01

Don't work reboot/shutdown in Icewm because commands for these actions used params from HAL, which was deleted by default in 11.4 release. Config now contain stings:
cat /etc/icewm/preferences | egrep 'Shutdown|Reboot'
ShutdownCommand="dbus-send --system --dest=org.freedesktop.Hal --type=method_call --print-reply /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown"
RebootCommand="dbus-send --system --dest=org.freedesktop.Hal --type=method_call --print-reply /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot"

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



I replaced these strings on next:
cat /home/sauron/.icewm/preferences | egrep 'Shutdown|Reboot'
ShutdownCommand="dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop"
RebootCommand="dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart"

...and all works correctly.
Comment 1 Michal Marek 2011-03-21 10:26:00 UTC
Thanks for the bugreport with fix included :).
Comment 2 Michal Marek 2012-03-09 14:34:04 UTC
I forgot to close this.