[openbox] How to shutdown when using Openbox

Ian Zimmerman itz at very.loosely.org
Sat Mar 24 22:51:22 EDT 2018


On 2018-03-23 17:30, Gayan Weerakutti wrote:

> But I want a command that first quits Openbox and then performs a
> shutdown.

Trying to do that _within openbox_ is like cutting the branch on which
you're sitting :-)  But what you could do is write a short script that
first runs openbox, then (after oepnbox exits) pets the display manager
the right way to make it shut down.  (I don't know what that way is
because I don't use a display manager.)  When you have the script, make
_it_ the window manager, instead of openbox.

You know the saying about another level of indirection ...

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.


More information about the openbox mailing list