Difference between revisions of "Change to a Different Download Server"
Change to a Different Download Server (view source)
Revision as of 07:47, 16 October 2018
, 6 years ago→Edit the mirrorlist: Clarification for terminal use (recommended) and using gedit (not available on all editions)
imported>Fhdk |
imported>Fhdk (→Edit the mirrorlist: Clarification for terminal use (recommended) and using gedit (not available on all editions)) |
||
Line 22: | Line 22: | ||
== | == Edit the Mirrorlist == | ||
If you prefer editing your mirror list by hand - here is how | If you prefer editing your mirror list by hand - here is how | ||
{{tip|More than one server can be enabled. However, they will be selected in the order they are listed, and ''pacman'' will only select another server if there is a problem with the one before it.}} | {{tip|More than one server can be enabled. However, they will be selected in the order they are listed, and ''pacman'' will only select another server if there is a problem with the one before it.}} | ||
Due to the versatility of GNU you have a multitude of options for editing text file. Every system and every user has a preferred GUI text editor. However due to security concerns, it is difficult to launch a GUI editor to correctly edit a protected system configuration file. | |||
Therefore you need to be familiar with basic terminal usage. '''nano''' is a terminal based text editor available with all Manjaro editions. | |||
You will need to first open your terminal in order to edit the mirrorlist file. The syntax of the command to edit the mirrorlist is: | You will need to first open your terminal in order to edit the mirrorlist file. The syntax of the command to edit the mirrorlist is: | ||
Line 32: | Line 36: | ||
sudo nano /etc/pacman.d/mirrorlist | sudo nano /etc/pacman.d/mirrorlist | ||
However, | However, a loophole exist for editing system files with a GUI editor. That requires you to know the binary name for the editor. For example does Gnome based editions often include the '''gedit''' text editor. If you are unsure - just type <code>gedit</code> in a terminal. Depending on availability it will open or the terminal displays an error message. | ||
To use gedit (if available), the command is: | |||
gedit admin:/etc/pacman.d/mirrorlist | |||
== Edit the Mirrorlist == | == Edit the Mirrorlist == |