How to setup reflector-auto?

Hello @Luna and welcome!

@manuel beat me to this but let me see if I can assist them. This post you may find helpful:

Also here:
https://endeavouros.com/docs/pacman/mirrors-for-pacman/

Let us work backward for a second in respect to your post.

This is up to you. You can use one, both, or none.

Think of reflector-simple as one shop stopping. You set it up once and forget it. This means you will have a static mirror list that never changes ranked according to the options you selected via the button in the welcome app. This is made easier by having the check boxes for number of mirrors, rate (speed), and how long the mirrors refreshed last. This will not change unless you repeat the process manually.

Think of reflector-auto as a way to automatically repeat this process on a timer as a service running in the background. This is slightly more complicated because here we don’t have the handy check boxes and have to add the options manually to a file that the reflector-auto.timer service will execute automatically based on the options you have added into the file /etc/reflector-auto.conf file. So you set the options in the file by manually adding them (type them in) and the service runs the file on a timer.

Once you set the .conf and enable the timer it should just run.

Here is an example file:

## Configuration for 'reflector-auto'.
-c US
-c CA
-p https
-a 4
-f 10
--sort rate

-c sets the country. So the first two look for mirrors in the US and Canada.
-p sets the protocol (there is also a checkbox for this in reflector-simple) I only use https
-a sets how many hours since the mirror last refreshed. The example uses 4 I use 2.
-f how many mirrors you would like to pull in to use.
–sort rate (speed).

@manuel if I have said anything wrong here please correct.

7 Likes