Difference between revisions of "Change to a Different Download Server"

→‎Edit the Mirrorlist: Added dependency of gvfs for the admin protocol to work with gui editor
imported>Fhdk
(→‎Edit the mirrorlist: Clarification for terminal use (recommended) and using gedit (not available on all editions))
imported>Fhdk
(→‎Edit the Mirrorlist: Added dependency of gvfs for the admin protocol to work with gui editor)
Line 29: Line 29:


Therefore you need to be familiar with basic terminal usage. '''nano''' is a terminal based text editor available with all Manjaro editions.
Therefore you need to be familiar with basic terminal usage. '''nano''' is a terminal based text editor available with all Manjaro editions.
=== Terminal ===


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:
  sudo [text editor] /etc/pacman.d/mirrorlist
  sudo [terminal text editor] /etc/pacman.d/mirrorlist


For example, if you wish to edit the file within the terminal using ''nano'' (a standard terminal-based text editor) then enter:
For example, if you wish to edit the file within the terminal using ''nano'' (a standard terminal-based text editor) then enter:
  sudo nano /etc/pacman.d/mirrorlist
  sudo nano /etc/pacman.d/mirrorlist
=== GUI loophole ===


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.
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.
Line 40: Line 44:
To use gedit (if available), the command is:
To use gedit (if available), the command is:
  gedit admin:/etc/pacman.d/mirrorlist
  gedit admin:/etc/pacman.d/mirrorlist
If above command fails, the '''gvfs''' package is not installed. This package can be installed with
sudo pacman -Syu gvfs
or with pamac
pamac install gvfs
A list of common GUI editors (a lot more exist)
* gedit
* xed
* pluma
* mousepad
* leafpad
* l3afpad
* kate
* geany
* juffed


== Edit the Mirrorlist ==
== Edit the Mirrorlist ==
Anonymous user