[openbox] How to shutdown when using Openbox

MJ Fleming marstonfleming at gmail.com
Sat Mar 24 15:50:16 EDT 2018


You could basically just create a script that runs those two commands and
then run that script from an openbox menu or keybinding... I took the
liberty of making an example for you here, includes a pipe menu:

http://openbox.org/wiki/User:Spoiledbroth/obend.sh

systemctl poweroff/reboot should work assuming you're using a relatively
recent version of Debian, and not Devuan or something that isn't using
systemd. Otherwise you might have to investigate dbus-send ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20180324/9ff7d22c/attachment.html>


More information about the openbox mailing list