You are not logged in.
I am trying to have my arch linux system trigger my i3lock after my computer hibernates. Right now I am looking at the arch linux wiki for Power management. I see that I need to use the hooks for systemd for suspend/resume. However when I try to enable suspend@user, systemctl says the unit file does not exist. When I look in /usr/lib/systemd/system, I find suspend.target, systemd-hibernate-resume@.service, systemd-suspend.service and other similar files, but nothing that I can enable. Do I need to make my own unit file?
Offline
Do I need to make my own unit file?
Yes. This is why there is a sample file in the wiki...
https://wiki.archlinux.org/index.php/Po … leep_hooks
Offline
I finally took the time to get this to work. It just took putting the sample file suspend@.service in /etc/systemd/system, editing it to run i3lock on suspend, and then enabling the service.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline