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:
SigLevel = Optional TrustedOnly 
Server =$arch 
Server =$arch 
SigLevel = TrustAll 
Server =$repo/$arch 
Server =$repo/$arch 
SigLevel = TrustAll 
Server =$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
Section "Module"
    Load "modesetting"

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

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

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

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


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


Install googlepinyin

sudo pacman -S fcitx-im

sudo pacman -S fcitx-configtool

sudo pacman -S fcitx-googlepinyin
sudo vi  /home/{{your username}}/.xprofile 
   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"

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

Use Tim by Appimage

Download TIM-x86_64.AppImage from and make it executable
Just execute the file and you can use


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
cd apfs-fuse/
git submodule init
mkdir build
cd build
cmake ..
sudo ./apfs-fuse /dev/nvme0n1p4 /home/lapponia/MyMac
# apfs-fuse <device> <mount-directory>


To be continue…