Arch Linux安装桌面及常用软件
安装桌面环境
显卡驱动
$ lspci -k | grep -A 2 -E "(VGA|3D)"
$ sudo pacman -S xf86-video-intel
$ sudo pacman -S nvidia nvidia-lts
N卡配置详情:
[]: https://wiki.archlinux.org/index.php/NVIDIA_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#%E9%85%8D%E7%BD%AE
X窗口管理系统
$ sudo pacman -S xorg
图形界面
KDE桌面
$ sudo pacman -S plasma kde-applications
$ sudo pacman -S sddm
$ sudo systemctl start sddm
$ sudo systemctl enable sddm
GNOME桌面
$ sudo pacman -S gnome gnome-extra
$ sudo pacman -S gdm
$ sudo systemctl start sddm
$ sudo systemctl enable sddm
字体
注:先进入桌面,设置完系统语言为中文后,再安装字体
$ sudo pacman -S ttf-dejavu wqy-zenhei wqy-microhei
触摸板驱动
$ sudo pacman -S xf86-input-synaptics
声卡驱动
$ sudo pacman -S alsa-utils
$ sudo pacman -S pulseaudio pulseaudio-alsa
蓝牙驱动
$ sudo pacman -S pulseaudio-bluetooth
$ sudo systemctl start bluetooth.service
$ sudo systemctl enable bluetooth.service
桌面环境安装后配置
用户目录
配置中国源
编辑 /etc/pacman.conf
$ sudo vim /etc/pacman.conf
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
更新系统
$ sudo pacman -Syy
安装archlinuxcn-keyring
$ sudo pacman -S archlinuxcn-keyring
安装Fcitx输入法
$ sudo pacman -S fcitx fcitx-im fcitx-configtool fcitx-googlepinyin
添加输入法配置文件
$ sudo vim ~/.xprofile
最下面添加:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
常用软件安装
yay
$ sudo pacman -S yay
zsh
$ sudo pacman -S zsh
$ git clone https://github.com/ohmyzsh/ohmyzsh/blob/master/tools/install.sh
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
source "$ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
编辑.zshrc文件
$ sudo vim ~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
latte-dock
latte-dock是KDE桌面下的dock栏
$ sudo pacman -S latte-dock
visual-studio-code
$ sudo pacman -S visual-studio-code-bin
Typora
$ sudo pacman -S typora
Google-Chrome
$ sudo pacman -S google-chrome
wps-office
$ sudo pacman -S ttf-wps-fonts wps-office-cn wps-office-mui-zh-cn
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)