ArchLinux 安装问题

安装显示环境

pacman -S xf86-video-intel vulkan-intel mesa  #安装显示驱动
pacman -S alsa-utils pulseaudio pulseaudio-bluetooth cups #安装声卡驱动
pacman -S xorg-server xorg-xinit #安装启动管理器
pacman -S sddm 'OR' lxdm #这些都是简单登入环境 或者选择 lightdm or gdm3

开启ssh root登入
/etc/ssh/sshd_config

PermitRootLogin yes #允许root登入
PasswordAuthentication yes #验证密码

安装字体

pacman -S ttf-dejavu ttf-droid ttf-hack ttf-font-awesome otf-font-awesome ttf-lato ttf-liberation ttf-linux-libertine ttf-opensans ttf-roboto ttf-ubuntu-font-family #英文字体
pacman -S ttf-hannom noto-fonts noto-fonts-extra noto-fonts-emoji noto-fonts-cjk adobe-source-code-pro-fonts adobe-source-sans-fonts adobe-source-serif-fonts adobe-source-han-sans-cn-fonts adobe-source-han-sans-hk-fonts adobe-source-han-sans-tw-fonts adobe-source-han-serif-cn-fonts wqy-zenhei wqy-microhei #中文字体

打开字体设置管理
vim /etc/profile.d/freetype2.sh


取消注释最后一句

export FREETYPE_PROPERTIES="truetype:interpreter-version=40"

设置分辨率

xrandr -s 1024x800
xrandr -s 0 恢复默认
xrandr -o left     # 向左旋转90度
xrandr -o right    # 向右旋转90度
xrandr -o inverted # 上下翻转
xrandr -o normal   # 回到正常角度
xrandr --output  DisplayPort-1 --mode 1024x768_60  #  DisplayPort-1 表示输出设备
xrandr [options]
-q, --query :查询
-s <size>/<width>x<height> :设置分辨率
-r <rate> :设置刷新率
-o, --output <output> :指定输出模式

参考:

https://www.cnblogs.com/klelee/p/15888178.html
https://wiki.archlinux.org/title/Window_manager
https://wiki.archlinux.org/title/Display_manager
https://getiot.tech/linux-command/xrandr.html
https://wiki.archlinux.org/title/Xrandr

posted @ 2022-05-31 07:09  edolf  阅读(78)  评论(0编辑  收藏  举报