# 參數說明
--noconfirm自動確認--needed已安裝的套件不重複安裝
# 注音輸入法 (新酷音)
pacman -S --noconfirm --needed fcitx5 fcitx5-im fcitx5-chinese-addons fcitx5-configtool fcitx5-chewing
修改 /etc/environment 檔案,增加下面設定
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
# 藍芽
pacman -S --noconfirm --needed bluez bluez-utils blueberry
# 設定開機自動啟用
systemctl enable bluetooth
# Visual Studio Code
安裝 AUR 的 bin 版本才有 Remote Development 套件
yay -S --noconfirm --needed visual-studio-code-bin
# Docker
pacman -S --noconfirm --needed docker
# Docker Desktop
要先下載安裝檔案
# 下載套件檔案
dockerDesktopFile=docker-desktop-4.17.0-x86_64.pkg.tar.zst
wget https://desktop.docker.com/linux/main/amd64/$dockerDesktopFile -P /tmp
# 安裝套件
pacman -U --noconfirm /tmp/$dockerDesktopFile
# 移除下載的檔案
rm /tmp/$dockerDesktopFile
# Google Chrome
AUR 才有
yay -S --noconfirm --needed google-chrome
# 設定 RAM disk
建立檔案 /etc/tmpfiles.d/shmFolder.conf
使用者名稱的位置記得修改
# 下載資料夾
d /dev/shm/Downloads 0755 <使用者名稱> <使用者名稱> - -
L+ /home/<使用者名稱>/Downloads - - - - /dev/shm/Downloads
# Chrome 暫存資料夾
d /dev/shm/ChromeCache 0700 <使用者名稱> <使用者名稱> - -
L+ /home/<使用者名稱>/.cache/google-chrome - - - - /dev/shm/ChromeCache
執行使設定檔生效,或者重新開機
systemd-tmpfiles --create