Bug 681126

Summary: Don't work reboot/shutdown in Icewm
Product: [openSUSE] openSUSE 11.4 Reporter: Alexey Tkachev <sauronazm>
Component: OtherAssignee: Michal Marek <mmarek>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.