Rebooting and Shutting Down on Openbox
Probably the biggest setback for me when I changed to Openbox was the lack of Power Off Commands such as Shutting Down and Rebooting (and suspending as well but I haven’t really solved that one yet). So I’ll share how I solved the problem in my case.
Edit: Suspend and Hibernate added ^^
Edit 2: code changed by wordpress so the original is here.