Arch Linux 安装记录.md

系统基本安装

主要参考:https://wiki.archlinux.org/index.php/Beginners%27_guide

网络

图形界面安装

1
2
pacman -S xorg-server xorg-server-utils xorg-utils xorg-xinit
pacman -S slim openbox xf86-video-intel(或xf86-video-ati,xf86-video-nouveau) xterm wqy-zenhei wqy-microhei #slim 登陆管理器,openbox 窗口管理器,可换成i3、kde等,xf86.. 开源显卡驱动,pacmanfm 资源文件管理器

自动启动图形界面:

1
systemctl enable slim.service # or gdm.service for gnome

在.xinitrc末端添加exec gnome-session # or other desktop

中文输入法

1
pacman -S fictx fcitx-sunpinyin fcitx-cloudpinyin fcitx-configtool fcitx-im

然后在.xprofile添加

1
2
3
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

问题

删除新建用户密码:

1
passwd -d yongqi

用户不在sudoer文件中:root用户使用visudo命令,增加yongqi ALL=(ALL) ALL; 或者visudo打开 wheel用户组的sudo权限,然后usermod -g wheel yongqi 将yongqi添加到wheel用户组。
texlive2016: ctex已经可以自动显示中文,不需要添加win字体,会根据系统自动选择字体,evince没有显示中文可能是缺少poppler-data包。

连接蓝牙耳机

1
2
sudo pacman -S bluez blue-utils pulseaudio-bluetooth
sudo systemctl enable bluetooth.service # for the first time