Say ahead

Because there is no Chinese input method when the system is just installed, this article is written in English
Configure domestic source


sudo pacman-mirrors -i -c China -m rank

select ustc,tuna or choose other what you like

sudo vi /etc/pacman.conf
append content:
[archlinuxcn] 
SigLevel = Optional TrustedOnly 
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch 
Server = http://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch 
[antergos] 
SigLevel = TrustAll 
Server = https://mirrors.ustc.edu.cn/antergos/$repo/$arch 
Server = http://mirrors.tuna.tsinghua.edu.cn/antergos/$repo/$arch 
[arch4edu] 
SigLevel = TrustAll 
Server = http://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch

sudo pacman -Syy
sudo pacman -Syu

Install NVIDIA graphics driver

Prior to this I installed the driver using a graphical interface, the following is a modification of my configuration file
sudo rm -f /etc/X11/xorg.conf.d/90-mhwd.conf

vim /etc/X11/xorg.conf.d/optimus.conf
content:
Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

sudo rm -f /etc/modprobe.d/mhwd*

sudo vim /etc/modprobe.d/nvidia.conf
content:
options nvidia_drm modeset=1
sudo vim /usr/share/sddm/scripts/Xsetup
content:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

sudo chmod 777 /usr/share/sddm/scripts/Xsetup

reboot

At last by “glxinfo | grep -i vendor” or open NVIDIA X server to confirm whether it was successfully installed

Quote: https://forum.manjaro.org/t/howto-set-up-prime-with-nvidia-proprietary-driver/40225

Install googlepinyin

sudo pacman -S fcitx-im

sudo pacman -S fcitx-configtool

sudo pacman -S fcitx-googlepinyin
sudo vi  /home/{{your username}}/.xprofile 
content:
   export GTK_IM_MODULE=fcitx
   export QT_IM_MODULE=fcitx
   export XMODIFIRS=''@im=fcitx''

Install Oracle jdk

pacman -Ss jdk
# see if Oracle jdk exists

pacman sudo pacman -S jdk

Install Mysql and easier-to-use database terminal management tools:mycli

sudo pacman -S mysql
sudo mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl enable mysqld
sudo systemctl start mysqld
mysql -u root -p
password:“Password comes from screen output during initialization”
alter user 'root'@'localhost' identified with mysql_native_password by 'yourself password';
sudo pip3 install mycli

Install oh-my-zsh

sudo pacman -S zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

By kconsole’s set to set zsh as the default when open new ksonle

Use Tim by Appimage

Download TIM-x86_64.AppImage from http://yun.tzmm.com.cn/index.php/s/5hJNzt2VR9aIEF2 and make it executable
Just execute the file and you can use

Quote:https://github.com/askme765cs/Wine-QQ-TIM

Mount the apfs partition locally

Because I used Hackintosh before, I need to mount its disks.

sudo pacman -S fuse libfuse-dev bzip2 libbz2-dev cmake gcc-c++ git libattr1-dev
# Maybe some of these packages are not in your distribution, but that is not a problem
git clone https://github.com/sgan81/apfs-fuse.git
cd apfs-fuse/
git submodule init
mkdir build
cd build
cmake ..
make
sudo ./apfs-fuse /dev/nvme0n1p4 /home/lapponia/MyMac
# apfs-fuse <device> <mount-directory>

Quote:https://github.com/sgan81/apfs-fuse

To be continue…