On Thu May 7, 2020 at 4:26 PM, Andy Pieters wrote: > The best way to avoid the latter is to either manually close all of your > applications in your desktop environment prior to calling shutdown > through > software, or, find the correct option in your desktop environment to > shut > down the system. > > > I've never used i3 but other DM I used all have options for powering > down > the system or at the least logging out.
Try `i3-msg exit` before you shutdown, you can setup a keybinding [1] for it in your i3 config. -- Spencer Muise [1] https://wiki.archlinux.org/index.php/i3#Shutdown.2C_reboot.2C_lock_screen