ArchLinux Installation Configuration Guide [Desktop article]
Now you can unplug the U disk, just after the restart and will find no difference, or command line interface, do not worry now take you install the desktop environment.
Connect Network
First, check whether the network connection is successful
ping www.baidu.com
If not then execute the following command to connect, I believe you know how to connect.
- Cable network
dhcpcd
- wireless network
wifi-menu
Add user
If you do not add here, after you install the desktop, no user login screen appears (root user does not appear in gdm login screen)
And the use of root privileges can be dangerous
useradd -m -g users -s /bin/bash xxxx #添加xxxx用户,用户名你自定义
passwd xxxx #为xxxx用户设置密码
## configure a new user sudo privileges
vim /etc/sudoers #编辑配置文件
In root ALL = (ALL) ALL
add under xxxx ALL = (ALL) ALL
; input :wq!
forced to save and exit vim
Sound card drivers installed
pacman -S alsa-utils pulseaudio-alsa
Arch Linux sound support enabled by default, can be muted by default alsamixer
Command + letter [M] unmute
Letters and down arrow keys to adjust the volume [M] unmute [Q], [W], [E] to increase the volume left and right, channels [Z], [X], [C] is reduced left and right channel volume
Install the graphics driver
lspci | grep VGA #查看显卡型号(例如:Intel Corporation HD Graphics 530)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
lspci | grep 3D #查看独显型号(例如:NVIDIA Corporation GM107M [GeForce GTX 950M])
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2) #(rev a2) 表示正在运行,如果是ff则未运行
pacman -S 驱动包名字
Referring to the view of the type of your card, select the appropriate driver package
xf86-video-intel #——Intel xf86-video-nouveau #——Geforce7 xf86-video-304xx #——Geforce6/7
### Graphics Type
If you have significant independence NVIDIA
can use that can be installedpacman -S xf86-video-intel nvidia
Dual-graphics program presented here does not, consult the Arch wiki
Install the X Window System
pacman -S xorg #安装xorg
pacman -S xf86-input-synaptics #安装触摸板驱动
pacman -S ttf-dejavu wqy-zenhei wqy-microhei #安装常用字体
Installing the Desktop
Show only KDE and GNOME, KDE behind the advanced tutorial mainly
WHERE
KDE Desktop
Installation plasma-meta element software
pacman -S plasma
KDE graphical login screen applications and SDDM
pacman -S kde-applications
pacman -S sddm sddm-kcm
Install network management tools
pacman -S networkmanager netctl
Open Related Services
Here you need root privileges
su
systemctl enable NetworkManager
systemctl enable sddm
systemctl enable dhcpcd
GNOME (KDE installed, do not install GNOME)
pacman -S gnome #安装gnome
pacman -S gnome-tweak-tool #gnome桌面优化工具
pacman -S alacarte #桌面菜单编辑器
systemctl enable gdm #启用gnome窗口管理器服务
systemctl enable NetworkManager #启用网络管理
reboot #重启
Congratulations, here you are able to successfully install the desktop, the desktop quickly reboot into it!