基本工具
# pacman? -S? man? base-devel
強制更新 系統(tǒng)、軟件
# pacman? -Syyu
用戶配置:
# useradd? -m? -G? wheel? qing
# passwd? qing
# visudo(修改wheel組的權(quán)限)
把wheel ALL=(ALL)ALL 前的“#”去掉
不想用vi把vi替換掉焦读,做vi的軟鏈接
# ln? -s? /usr/bin/vim? /usr/bin/vi
前提條件烟瞧,已安裝(vi樟凄、sudo)
安裝fish-shell
# pacman? -S? fish
# which? fish
# chsh? -s? /usr/bin/fish
# curl? -L? https://get.oh-my.fish|? fish
# fish_config
安裝yay
# git? clone? https://aur.archlinux.org/yay.git
# cd yay
# makepkg -si
或
# sudo? pacman -S? yaourt
# yaourt? -S? yay
顯卡驅(qū)動
@ 通用xf86-video-vesa
@intel? ? ? ? ? xf86-video-intel
@Geforce7±? ? xf86-video-nouveau(開源)
@Geforce7±? ? ? nvidia(閉源)
# pacman? -S? xf86-video-intel
# pacman -S nvidia nvidia-utils nvidia-settings
切換顯卡bumblebee
https://wiki.archlinux.org/index.php/NVIDIA
觸摸板驅(qū)動
# pacman? -S? xf86-input-synaptics
添加archlinuxcn源
# vim /etc/pacman.conf
在 /etc/pacman.conf 文件末尾添加兩行:
中科大(archlinux蹲堂、blackarch)
[archlinuxcn]
SigLevel = Optional TrustAll
Server=https://mirrors.ustc.edu.cn/archlinuxcn/$arch
[blackarch]
SigLevel=Never
Server=https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch
# sudo? pacman -S? archlinux-keyring
# sudo? pacman -S? blackarch-keyring
安裝中文輸入法
# pacman? -S? fcitx? fcitx-im fcitx-configtool
# pacman -S fcitx- xxx pinyin
# vim ~/.xprofile
添加一下內(nèi)容
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
export LC_ALL=zh_CN.UTF-8
export XIM=fcitx?
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
eval `dbus-launch --sh-syntax --exit-with-session`
exec fcitx &
WIFI-設(shè)置
# pacman? -S? iw? wpa_supplicant
# pacman? -S NetworkManager? nm-connection-editor? network-manager-applet
https://wiki.archlinux.org/index.php/NetworkManager
官方中文字體
# sudo? pacman? -S? noto-fonts-cjk