From bfa77f5b60fd573e3a2e6229ff1c2ebcb36c5085 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Wed, 11 Mar 2020 22:44:05 +0700 Subject: [PATCH] update archlinux --- install-archlinux.md | 54 ++++++-------------------------------------- 1 file changed, 7 insertions(+), 47 deletions(-) diff --git a/install-archlinux.md b/install-archlinux.md index 208f839..17afda6 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -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**. Enable wifi with `wifi-menu`. In step **Partition the disks**. 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. 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**. 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). -Display manager - install [LightDM](https://wiki.archlinux.org/index.php/LightDM) or [xinit](https://wiki.archlinux.org/index.php/Xinit). -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). +Desktop environments - install [GNOME](https://wiki.archlinux.org/index.php/GNOME). +Display manager - install [GDM](https://wiki.archlinux.org/index.php/GDM). In step **Networking**. Network configuration - install [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager). Clock synchronization - install [systemd-timesyncd](https://wiki.archlinux.org/index.php/Systemd-timesyncd). - In step **Optimization**. 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)](). - -[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. --- -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 :) - -**2020-02-04** Add how to center windows in Xfce. - -**2020-02-18** Add MATE and xinit. - -**2020-03-02** Add Reflector.