[openbox] exit script

jkinney23 at yahoo.ca jkinney23 at yahoo.ca
Wed May 18 21:02:56 EDT 2022


 >> 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.)

This is how Crunchbang++ and Bunsenlabs do things. They use a script that
provides a dialog with shutdown and reboot, etc, options. You could write a
script that does whatever you want.
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20220519/e16fb4e6/attachment.htm>


More information about the openbox mailing list