Stand With Ukraine

Sunday, January 21, 2024

Making suspend work on an arch-flavoured linux

I have a custom installation of linux (EndeavourOS if you are curious) that I use with the i3 window manager. But whenever I was doing
systemctl suspend
it was going to suspend but then turned back on, without any error message... Recently, I've guessed that the reason for this was the missing swap file. If you find yourself in a similar situation there is a nice howto on the creation and activation of a swapfile on Linux: https://btrfs.readthedocs.io/en/latest/Swapfile.html

No comments: