[openbox] How to shutdown when using Openbox
Oliver Kraitschy
oliver at okraits.de
Fri Mar 23 17:06:23 EDT 2018
Hi Gayan,
I don't know if there's any command which can do that.
I guess you would have to execute 'openbox --exit' and 'systemctl
poweroff' one after the other.
I'm using 'systemctl poweroff' myself in a little rofi-based tool I
wrote called rofi-power:
https://github.com/okraits/rofi-tools#rofi-power
Greetings,
Oliver
Am 23.03.2018 um 18:30 schrieb Gayan Weerakutti:
> I've been using Openbox for so long. But still do a two steps shutdown.
> I first click on exist. Then click shutdown on my display manager which
> is LDM.
>
> Thought it would be the time switch to a shortcut. I don't use Gnome or
> any other DE. Just Openbox in a minimal Debian setup.
>
> I've seen the suggestions about adding a menu item like the following:
>
> |<item label="Shutdown"> <action name="Execute"> <command>systemctl
> poweroff</command> </action> </item>
>
> But I want a command that first quits Openbox and then performs a shutdown.
> ​Could somebody suggest me one please?
>
> Thanks,
> Gayan
> |
>
>
>
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
More information about the openbox
mailing list