You can find them in the /home/user/.config/openbox/menu.xml file. In the versions with lxpanel, it is also in the file /usr/local/bin/shutdown-dialog.py, which is called from the button menu of the panel.
wondering if we are speaking of the same thing ... can't find that file in pclinuxos-openbox-bonsai-test-2011-06-19.iso
The bonsai test iso does not have shutdown-dialog.py in the system anymore, because it is needed only for the shutdown menu which is located under the menu button of the Lxpanel. Exit lxpanel : no more need for shutdown-dialog.py.
You find theses commands in the file /home/guest/.config/openbox/menu.xml.
This gave me an idea :I started to look if I could get the new command lines from ArchCtk to work on PCLinuxOS. They use the ConsoleKit commands instead of the Hal commands.
dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
For now, I get a "non-authorised" message, but I'll try to digg in that direction.
(The message: Error org.freedesktop.ConsoleKit.Manager.NotPrivileged: Not Authorized - I looked into /etc/dbus1/system.d/ConsoleKit.conf and compared with the one in ArchCtk, but they are identical)
I don't know if that could be the way to solve the problem but if I could get rid of Hal for theses commands it could be a good idea anyhow.
I would like to ask the persons who test here, how it goes on their machines whith shutdown, with the kernel 22.214.171.124.bfs, if they shutdown as root in console with the command "shutdown -h now" (without the quotes) ?