update archlinux

main
Tran Hau 2020-03-11 22:44:05 +07:00
parent cabf26f8c3
commit bfa77f5b60
1 changed files with 7 additions and 47 deletions

View File

@ -8,22 +8,22 @@ Assume your laptop/PC is UEFI-capable.
--- ---
First thing as breathe air is to read [Installation guide](https://wiki.archlinux.org/index.php/Installation_guide). Read through the guide slowly and carefully. First thing as breathe air is to read [Installation guide](https://wiki.archlinux.org/index.php/Installation_guide). Read through the guide **slowly** and **carefully**.
After that, get an USB and follow [USB flash installation media](https://wiki.archlinux.org/index.php/USB_flash_installation_media). Use `dd` on Linux/MacOS or `Rufus` on Windows. After that, get an USB and follow [USB flash installation media](https://wiki.archlinux.org/index.php/USB_flash_installation_media).
When booting Archlinux ISO, follow **Installation guide**, step by step. When booting Archlinux ISO, follow **Installation guide**, **step** by **step**.
In step **Connect to the internet**. In step **Connect to the internet**.
Enable wifi with `wifi-menu`. Enable wifi with `wifi-menu`.
In step **Partition the disks**. In step **Partition the disks**.
Use `cfdisk`. Use `cfdisk`.
Mount point `/mnt/efi` with `512 MiB`. Mount point `/mnt/efi` (Use with GRUB) or `/mnt/boot` (Use with systemd-boot) with `512 MiB`.
Skip swap because use swap file later. Skip swap because use swap file later.
In step **Boot loader**. In step **Boot loader**.
Use [GRUB: UEFI systems](https://wiki.archlinux.org/index.php/GRUB#UEFI_systems). Use [GRUB: UEFI systems](https://wiki.archlinux.org/index.php/GRUB#UEFI_systems) or [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot).
--- ---
@ -40,18 +40,12 @@ Read [Users and groups](https://wiki.archlinux.org/index.php/Users_and_groups):
In step **Graphical user interface**. In step **Graphical user interface**.
Display server - install [Xorg](https://wiki.archlinux.org/index.php/Xorg). Display server - install [Xorg](https://wiki.archlinux.org/index.php/Xorg).
Desktop environments - install [Xfce](https://wiki.archlinux.org/index.php/Xfce) or [MATE](https://wiki.archlinux.org/index.php/MATE). Desktop environments - install [GNOME](https://wiki.archlinux.org/index.php/GNOME).
Display manager - install [LightDM](https://wiki.archlinux.org/index.php/LightDM) or [xinit](https://wiki.archlinux.org/index.php/Xinit). Display manager - install [GDM](https://wiki.archlinux.org/index.php/GDM).
User directories - install [XDG user directories](https://wiki.archlinux.org/index.php/XDG_user_directories).
Read [File manager functionality](https://wiki.archlinux.org/index.php/File_manager_functionality).
In step **Multimedia**.
Sound - install [ALSA](https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture), [PulseAudio](https://wiki.archlinux.org/index.php/PulseAudio).
In step **Networking**. In step **Networking**.
Network configuration - install [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager). Network configuration - install [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager).
Clock synchronization - install [systemd-timesyncd](https://wiki.archlinux.org/index.php/Systemd-timesyncd). Clock synchronization - install [systemd-timesyncd](https://wiki.archlinux.org/index.php/Systemd-timesyncd).
In step **Optimization**. In step **Optimization**.
Read [Solid state drive](https://wiki.archlinux.org/index.php/Solid_state_drive). Read [Solid state drive](https://wiki.archlinux.org/index.php/Solid_state_drive).
@ -70,42 +64,8 @@ Read [Silent boot](https://wiki.archlinux.org/index.php/Silent_boot).
--- ---
`pacman` is your friend!
[Removing unused packages (orphans)](<https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)>).
[The Configuration File, pacman.conf](https://wiki.manjaro.org/index.php?title=Pacman_Overview#The_Configuration_File.2C_pacman.conf).
```sh
sudo pacman -Syu && sudo pacman -Rns $(pacman -Qtdq) || true
```
Install [Reflector](https://wiki.archlinux.org/index.php/Reflector) to generate mirror list:
```sh
sudo reflector --verbose \
--country Singapore \
--country "Hong Kong" \
--age 12 --protocol https --sort rate \
--save /etc/pacman.d/mirrorlist
```
---
Final step is to read [List of applications](https://wiki.archlinux.org/index.php/List_of_applications). Only read section you need. Final step is to read [List of applications](https://wiki.archlinux.org/index.php/List_of_applications). Only read section you need.
--- ---
Remove line across screen when using Plank in Xfce: Settings Manager > Window Manager Tweaks > Compositor > **Uncheck** Show shadows under dock windows.
Center windows in Xfce: Settings Manager > Window Manager Tweaks > Placement > Move slider to full large and **Check** At the center of the screen.
---
This is the end. Future update is coming if I feel something need to be changed or I get boring and change my taste :) This is the end. Future update is coming if I feel something need to be changed or I get boring and change my taste :)
**2020-02-04** Add how to center windows in Xfce.
**2020-02-18** Add MATE and xinit.
**2020-03-02** Add Reflector.