[openbox] exit script

Parke parke.nexus at gmail.com
Wed May 18 20:20:33 EDT 2022


On Wed, May 18, 2022 at 12:06 PM Dave Serls <dave at dashs.denver.co.us> wrote:
> I'm wondering if there is any approved method of executing a command or
> script when "exit" is the selected action from the main menu.
> I'd like to scan (xlsclients -a) for running tasks and either cleanup or
> abort the "exit".

Why not just make your own menu entry that does exactly what you want?
 (Perhaps by executing a script.)

I believe you can exit openbox from the command line (or a script) with:
$  openbox  --exit

I have not tested the above command.


More information about the openbox mailing list