折腾了一天左右,终于把Arch Linux配置得差不多了。
BTW, I use Arch.
基础工具
$ pacman -S base-devel binutils git wget curl
yay安装
$ pacman -S go #yay使用Go语言编译
$ git clone https://aur.archlinux.org/yay
$ cd yay
$ makepkg -si
中文显示
$ pacman -S wqy-microhei
硬盘挂载驱动
$ pacman -S ntfs-3g
WPS
$ yay -S wps-office{,-mime,-mui-zh}-cn
$ yay -S ttf-wps-fonts
$ yay -S fcitx{,-configtool}
$ yay -S fcitx-sogoupinyin
$ cat > ~/.pam_environment << EOF
> GTK_IM_MODULE DEFAULT=fcitx
> QT_IM_MODULE DEFAULT=fcitx
> XMODIFIERS DEFAULT=\@im=fcitx
> EOF
$ echo "options iwlwifi bt_coex_active=0" >> /etc/modprobe.d/iwlwifi.conf
$ echo 'GRUB_FORCE_HIDDEN_MENU="true"' >> /etc/default/grub #root
$ wget https://gist.githubusercontent.com/anonymous/8eb2019db2e278ba99be/raw/257f15100fd46aeeb8e33a7629b209d0a14b9975/gistfile1.sh -O /etc/grub.d/31_hold_shift #root
$ chmod a+x /etc/grub.d/31_hold_shift #root
$ grub-mkconfig -o /boot/grub/grub.cfg #root