I've recently installed Openbox,and read a guide that said the PC should be shut down via this command:
gdm-control --shutdown && openbox --exit
However, it seems a bit counter intuitive. Why would I shut the computer down first and then exit Openbox? How is that even possible?
Or is it maybe that
gdm-control --shutdown just sends a message somewhere? What if the computer shuts down before Openbox can exit? Is this really "the right way"?
Link to Openbox guide: http://urukrama.wordpress.com/openbox-guide/
OS: Debian Linux 7.0