This commit is contained in:
DoTheEvo 2022-01-15 20:21:28 +01:00
parent 822de8a33f
commit 94027c7aa4
1 changed files with 19 additions and 1 deletions

View File

@ -248,9 +248,25 @@ Monitoring and testing
* clean up old packages weekly, keep last 3<br>
`sudo pacman -S pacman-contrib`<br>
`sudo systemctl enable --now paccache.timer`
* use reflector to get the fastest mirrors based on country `-c <country code>`<br>
`sudo pacman -S reflector`<br>
`sudo reflector -l 200 -n 20 -c SK -c CZ -p http --sort rate --save /etc/pacman.d/mirrorlist`
`sudo reflector -c SK,CZ,UA -p http --score 20 --sort rate --save /etc/pacman.d/mirrorlist`
automatic mirror update with reflector
`/etc/xdg/reflector/reflector.conf`
```
--save /etc/pacman.d/mirrorlist
--protocol http
--country SK,CZ,UA
--score 20
--sort rate
```
enable it, it will run weekly
`sudo systemctl enable --now reflector`
### Comfort
@ -258,6 +274,8 @@ Monitoring and testing
`sudo micro /etc/pacman.conf`<br>
*Color*
### Notebook
Lid closed should not make the machine go to sleep.