Bill Nottingham wrote: > OK. So the question is ... what does this button do? Invoke 'halt'? > Invoke 'shutdown -h now'? Invoke ConsoleKit's Stop() method?
Assuming you run KDM, the button invokes KDM's API for shutting down. So that reduces the question to what KDM does. If you don't run KDM, we have a Fedora patch to fall back to ConsoleKit Stop() (the kdebase-workspace-*-ck- shutdown.patch). What KDM does is that it runs (as root, like all of KDM) the command given by its HaltCmd option, which defaults to its HALT_CMD macro, which is defined on GNU/Linux as "/sbin/halt". However, I see that we override this in our default kdmrc in kde-settings-kdm as "HaltCmd=/sbin/poweroff". Kevin Kofler -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel