Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] openrc-shutdown in i3 (Read 2056 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] openrc-shutdown in i3

Hello everyone,
i just switched from archlinux to artixlinux with openrc.
since you cant shutdown without root access ive configured visudo to not require a password when im shutting down.
In my i3 config i wrote sudo openrc-shutdown -p to power off

But is this actually the correct way to do it?
Wasnt really finding anything on the wikis about that.

Re: openrc-shutdown in i3

Reply #1
No, it is definetely wrong.

You should use the following:

Code: [Select]
loginctl poweroff