/etc/pacman.d/mirrors
, 在最上方添加两行源地址## 阿里云
Server = http://mirrors.aliyun.com/archlinux/$repo/os/$arch
## 清华大学
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
archlinuxcn
软件源: /etc/pacman.conf
,在最下方添加:[archlinuxcn]
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
我选择的是搜狗拼音输入法
sudo pacman -S fcitx-sogoupinyin
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
~/.profile
,在最下方添加:export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
zsh
安装:sudo pacman -S zsh git
oh my zsh
安装:sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s /bin/zsh
我笔记本是双显卡,Manjaro虽然自带硬件管理,但无法在两个显卡之间自由切换,按照ArchLinux Wiki给出的方法,只有Bumblebee方案成功,囧rz。。。
sudo pacman -S bumblebee bbswitch
sudo gpasswd -a XXX bumblebee //XXX是用户名
sudo systemctl enable bumblebeed.service
sudo pacman -S bumblebee nvidia opencl-nvidia lib32-nvidia-utils lib32-opencl-nvidia mesa lib32-mesa-libgl xf86-video-intel
/etc/bumblebee/bumblebee.conf
,修改以下内容:Driver=nvidia # 指定nvidia
[driver-nvidia]
PMMethod=bbswitch # 电源管理指定bbswitch
sudo tee /proc/acpi/bbswitch <<< ON
nvidia-smi
sudo tee /proc/acpi/bbswitch <<< OFF
Manjaro自带Steam,双击打开之后出现一个License界面之后再也没有反应,通过谷歌之后发现是缺少依赖:
sudo pacman -S steam-native-runtime
steam_install_workaround
等待依赖安装完成后就可以发现steam已经正常打开