This question already has an answer here:

Yesterday I installed arch for the first time manually and I love it. I've been looking to do some basic things like permanently setting the keyboard layout and making netctl start when I boot Arch.

What's a good way to do such things? I know I can modify .bashrc to run loadkeys and netctl, but that doesn't seem to be the right way to do this. The boot directory seems to just contain grub and image files and no script that runs at during bootup.

Is there a way to make a new script that would execute when I turn Arch on, and if so, how would I do that?

marked as duplicate by JigglyNaga, JdeBP, ilkkachu, Mr Shunz, Thomas Mar 16 at 10:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • netctl enable for networks, systemctl enable for services, localectl for keyboards, etc. There are actually tons of places where "startup" things are specified – Fox Mar 14 at 22:37

Browse other questions tagged or ask your own question.