[arch-general] Graceful shutdown Arch Linux

Andy Pieters arch-general at andypieters.me.uk
Thu May 7 15:26:01 UTC 2020


On Thu, 7 May 2020 at 16:11, Ram Kumar via arch-general <
arch-general at archlinux.org> wrote:

> Could you please help me with some graceful shutdown options for Arch
> linux?
>
>
There's a differenc to a graceful shutdown for the OS level and for your
desktop.

As long as you do a shutdown via software (e.g. systemctl halt or systemctl
poweroff or the same via your dm) then the system will shut down gracefully.

What this means is that it will perform system-level shutdown of daemons
and filesystems so that when the system is powered on again, it can mount
the filesystems without any data loss or dammaged partitions.

Any shutdown initated outside of your dekstop environment will forcefully
shutdown the applications running in it without waiting for them to close,
so although you have a graceful shutdown on a system-level, it can be quite
abrupt on the desktop environment.

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.


More information about the arch-general mailing list