stevessr / Arch Linux 配置 (Archboot/Niri/Hyprland)

Created Fri, 15 Mar 2024 10:00:00 +0800 Modified Wed, 13 May 2026 11:28:35 +0000

系统

[!abstract]+ archboot

[!caution]+ 官方网站
这里我们选择 archboot
https://archboot.com/
可以在官方网站获得更多信息
已经要年底了,其资金筹集好像进度还没有过半……

[!note]+ 简介
Archboot 是最先进的模块化 Arch Linux 启动/安装映像创建实用程序,用于为 UKI/CD/USB/PXE 生成可复制 的可启动介质,专为安装救援 作而设计。 额外的 ISOUKI 侧重于小巧、快速(电源)用户友好
)复制自官网(

[!faq]+ 特性
在 arch 的滚动之外加上了默认配置的安全启动
进入 UEFI 即可 enroll hash(虽然第一次可以 enroll key)
类似于 ventoy 的初始化安全启动流程很舒服

引导

[!note]- GNU/GRUB
https://www.gnu.org/software/grub/
archboot 默认使用的,该 grub 的默认配置使得你修改大部分教程中对应 grub 配置文件时,不会对 archboot 的起作用

[!attention]- systemd-boot
不推荐
太丑了,并且 systemd 正在接管一切
https://linux.do/t/topic/836340

软件

桌面

KDE ( wayland )

[!abstract]- kde
qt 桌面,占用可能有点多
配合 kde material design 以获得 md3 大色块体验
从 kde6 开始,默认不安装 x11

hyprland

[!attention]- hyprland
分割单位为屏幕独立的工作区
是很多人入坑的平铺桌面管理器

[!cite]- end-4 的配置
https://github.com/end-4/dots-hyprland
(但是由于其依赖的 quickshell-git 停更了,遂放弃,并且暂时没有做 quickshell 0.2.0 的兼容)

日常 niri

[!success]- 超棒的无限平铺画布
https://wiki.archlinux.org/title/Niri
https://github.com/YaLTeR/niri
该作者也做 paper vm(是 gnome 的平铺脚本)
niri 有预览功能

[!cite]- DankMaterialShell 状态栏
使用 dms 作为状态栏
(可能占用内存有点多)
https://github.com/AvengeMedia/DankMaterialShell
兼顾一定的管理和启动能力
疑似和 end-4 的管理冲突

[!info]- 日常

键位

mod 键 驱动的窗口管理
https://linux.do/t/topic/861559

关于 x11 兼容性

https://github.com/YaLTeR/niri/wiki/Xwayland

waydroid

[!quote]- 小问题
x86(-64) 里外不是人,兼容不好用
网络问题让人头大(大战 docker 千百遍)
https://wiki.archlinux.org/title/Waydroid
https://github.com/waydroid
Xdroid 完全不干活(限制 linux 内核版本)

会话管理器 SDDM

[!info]- kde 默认
但是我的触摸键盘没弄好……
https://wiki.archlinux.org/title/SDDM

娱乐

steam

[!caution]- 关于安装
需要开启 multilib,故没有安装
proton 兼容性请查看检查官方网站
https://www.protondb.com/

视频

[!done]- 哔哩哔哩 + YouTube(web)
如果你执意要使用桌面软件
https://aur.archlinux.org/packages/bilibili-bin
https://aur.archlinux.org/packages/youtube

音乐

[!tip]- spotify
https://aur.archlinux.org/packages/spotify
网页版本跳广告也很方便
打补丁可以看
https://linux.do/t/topic/437721?u=stevessr

[!tip]- VLC
开发包
https://aur.archlinux.org/packages/vlc-git
官方包
https://archlinux.org/packages/extra/x86_64/vlc/
注:KDE 似乎绑定了 vlc,如果你安装了 KDE,请勿尝试安装 vlc-git,不然你会变得不幸

录屏

[!info]- OBS
https://obsproject.com/zh-cn
注意,对于 niri 来说可能需要额外安装 gnome 的 xdg

输入法

[!abstract]- fcitx5
Fcitx5
https://github.com/Mintimate/oh-my-rime
对于 chromium 系的应用,需要配置环境变量以支持 fctix5 输入,详情参见 fcitx5 的官网

远程

[!info]- 远程桌面/异地组网
https://parsec.app/
https://my.zerotier.com/

社交媒体

qq & wechat 基本手机……(输入法不好用)

[!warning]- niri 上的小问题
最近几乎用不了输入法了
还有就是通过 xwatland 兼容层

telegram 看看始皇说什么

[!note] 始皇的频道在论坛底部有链接

elementX / nheko / fluffychat 联系导师

[!check]- 端到端加密
你值得拥有(需要手动开启)
https://matrix.org/docs/matrix-concepts/end-to-end-encryption/

office

[!info]- onlyoffice
https://aur.archlinux.org/packages/onlyoffice
https://www.onlyoffice.com/zh/
可以部署到服务器,提供网页服务

开发

[!example]- 程序

IDE

Jet brains

editor

zed
vscode
nano/nvim

shell

fish shell

terminal emulator

kitty

ai

[!example]- 长期吃灰
lobechat
好重啊
comfyui
打不过
lm studio
ccr+Claude code

[!check]+ 活跃使用
cherry studio
Gemini-cli
qwen code

使用监测

[!danger]- stayfree
https://stayfreeapps.com/
请务必设计为开机启动
界面会显示为以下这种统计图片
image|690x336
用了好久了

web

edge

[!abstract]- 特性
全平台同步
drop(注:移动到更多工具)
没有侧边栏

chromium

[!abstract]- for playwright

管理器

[!info]+ 管理软件等

包管理器

pacman

配置了镜像仓库
https://mirrors.tuna.tsinghua.edu.cn/help/archlinuxcn/
cn 用户推荐,内置了很多常用软件
https://mirrors.tuna.tsinghua.edu.cn/help/arch4edu/
软件开发必备,例如 Android Studio 可以从这里下载

yay

https://github.com/Jguer/yay

paru

https://github.com/Morganamilo/paru
默认会让你看 PKGBUILD 文件 (包构建配置文件)

[!note] 需要注意的是,yay 和 paru 的功能极其相似

flatpak

KDE 主推的打包方式
https://flatpak.org/
但是好慢了
不建议通过 flatpak 安装 obs

nix

声明式包管理器
https://nixos.org/
包很多,比 arch 官方 还多
但是 unstable 的包可能更新不够快
目前不是主力(不知道系统级别的怎么配置)

笔记

[!note]+ 我的笔记软件们

[!check]- obsidian
经典的笔记软件
本人使用 remotely sync 进行同步
虽然基本在吃灰

[!info]- hugo
部署为静态博客
需要手写 ✍️ metadata
很懒,几乎没有用了

主题

使用 MeiK2333 的 Github Theme 主题,模仿 Github 页面
https://github.com/MeiK2333/github-style

[!todo]- project-graph
几乎很少使用了,只有要画流程图的时候才拉出来
话说有 llm+ 的功能,但是不能作为 mcp 提供服务好像
终于支持自定义 llm api 了,但是应该还是不支持 reponse api
似乎 ai 没有控制画布的功能……
https://github.com/graphif/project-graph

困局

[!bug]- 硬件厂商问题

一个月内

被宿舍校园网做局(wifi )

三个月以上

被英伟达做局,不常见分辨率的屏幕无法正常驱动(新版驱动问题,EDID 本身正常)