Cachyos 系统构建指南
系统安装
系统安装的前期准备
cachyos 安装时,需要更换镜像源,所以会访问一个网站来判断安装者所处地区。但是,这个网站在中国难以访问,这导致安装系统总是失败。B站up主通过修改安装文件,提前配置镜像源,阻止系统安装时的覆盖,同时安装时跳过了更换安装源。(新版cachyos貌似已经解决了这个问题)
cd /etc/calamares/scripts/
sudo ./update-morrorlist
sudo nano /bin/cachyos-rate-mirros
# 注释掉一行
# 添加 country="CN"
sudo chattr +i /bin/cachyos-rate-mirros
sudo ./update-morrorlist
sudo ./create-pacman-keyring
sudo nano /bin/cachyos-rate-mirros
最上端添加exit 0
sudo nano update-morrorlist
最上端添加exit 0
sudo chattr +i update-morrorlist
sudo chattr +i create-pacman-keyring
接下来可以正常安装了
系统启动
选择grub,比较成熟可靠,教程与主题资源更多。
cachyos 安装分区配置
- 选择手动分区,先建立引导分区,大小:512 mb,文件格式 :fat32,挂载:/boot/efi ,标记:/boot
- 建立交换分区,大小与你内存一样大,文件格式:Linuxsway 标记:sway
- 建立文件系统,大小为剩余空间,文件格式:btrfs ,挂载:/
如果系统环境选择hyprland,可以使用脚本对系统进行美化。
系统美化
end-4 美化配置
# bash 命令使用
bash <(curl -s https://ii.clsty.link/get)
# fish命令使用
curl -s https://ii.clsty.link/get |bash
如果上述不行运行下面命令
git clone https://github.com/end-4/dots-hyprland.git
cd dots-hyprland
./setup install
Hyprland 上使用 WallpaperEngine 动态壁纸
-
在 steam 上安装 WallpaperEngine ,订阅下载好你所需要的壁纸
-
安装 linux-wallpaperengine。(仅适用Arch Linux,其余发行版点击跳转链接 linux-wallpaperengine )
yay -S linux-wallpaperengine-git
flatpak install --user ./com.github.jagrat7.LinuxWallpaperEngine_stable_x86_64.flatpak
结果:

软件安装
chsrc
对系统进行换源,加快软件的安装速度
sudo chsrc set archlinuxcn
fcitx5 配置
中文输入法软件
paru -S fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool fcitx5-rime rime-ice-git
nano $HOME/.local/share/fcitx5/rime/default.custom.yaml
粘贴下面的配置
patch:
# 仅使用「雾凇拼音」的默认配置,配置此行即可
__include: rime_ice_suggestion:/
# 以下根据自己所需自行定义,仅做参考。
# 针对对应处方的定制条目,请使用 <recipe>.custom.yaml 中配置,例如 rime_ice.custom.yaml
__patch:
key_binder/bindings/+:
# 开启逗号句号翻页
- { when: paging, accept: comma, send: Page_Up }
- { when: has_menu, accept: period, send: Page_Down }
siyuan
本地优先的笔记
zen-browser-bin
基于火狐的浏览器软件
kdeconnect
与手机实现了互联,可以在电脑上面查看手机短信,剪切板发送等功能,
如果不能搜索到设备,那么先打开电脑的防火墙。
输入下面命令打开防火墙
sudo ufw allow 1714:1764/tcp
sudo ufw allow 1714:1764/udp
steam
游戏软件,同时也可以运行win系统软件
nwg-displays
管理多屏显示器,同时也可以调整显示器的分辨率
btrfs assistant
谁说世界上没有后悔药,操作系统有,如何出现配置环境错误,那就回档。
手柄驱动
xpadneo
给手柄提供震动功能
双系统用户
对于双系统用户,为了在启动界面看到其他系统的启动选项,需要使用os-probe
sudo pacman -S os-prober
sudo nano /etc/default/grub
在文件中添加或修改以下行,确保其值为 false
GRUB_DISABLE_OS_PROBER=false
最后运行
sudo grub-mkconfig -o /boot/grub/grub.cfg
任务管理器
mission-center
美观简洁的任务管理器,同时可以看cpu、gpu、内存的使用情况。
修改$Home/.config/hypr/Hyprland/variou.conf 中配置,实现快捷键启动。
代码编辑器
visual-studio-code
ark
解压和压缩软件
可选软件
- grub-customizer grub主题设置
- xorg-xhost 许多软件需要
- os-prober 多系统必备