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
文章编写or整理的内容由作者完成,引用or参考会给出原文链接。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异