This repository was archived by the owner on Mar 1, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
This repository was archived by the owner on Mar 1, 2026. It is now read-only.
arch上体验了一下,给大家引个路 #1
Copy link
Copy link
Open
Description
arch linux 安装过程
最小化的安装系统,没有安装lightdm或者sddm,用startx的方式启动,
pacman -Sy --noconfirm git cargo graphene gtk4 vte4 alsa-lib pkg-config
pacman -Sy --noconfirm xorg-server xorg-xinit libxrender libxft libxinerama fontconfig
pacman -Sy --noconfirm libx11 feh picom dmenu dos2unix fastfetch
git clone https://github.com/beamiter/rust-project
rustc --version
cargo --version
cd ~/rust-project/egui_bar/
cargo install --path .
cd ~/rust-project/jterm4
cargo install --path .
cd ~/rust-project/jwm/
#vi ~/rust-project/jwm/src/config.rs
#line 18 change false to true
sed -i '18s/false/true/' ~/rust-project/jwm/src/config.rs
sed -n '18p' ~/rust-project/jwm/src/config.rs
cargo install --path .
dos2unix *.sh
mkdir -p /usr/local/share/xsessions/
bash install_jwm_scripts.sh
cat /usr/local/share/xsessions/jwm.desktop
cp ~/rust-project/jterm4/target/release/jterm4 /usr/local/bin/
cp ~/rust-project/egui_bar/target/release/egui_bar /usr/local/bin/
cp ~/rust-project/jwm/target/release/jwm /usr/local/bin/
#echo "feh -bg-fill -r /mnt/island.jpg" >> ~/.xinitrc
echo "exec jwm" >> ~/.xinitrc
export PATH="$HOME/.cargo/bin:$PATH"
source ~/.bashrc
startx
- 我的测试环境中使用feh --bg-fill -r /usr/share/ 定义背景图片的时候jwm会退出,原因未知
- 默认的快捷键很多都是三个按键的,不过这个仁者见仁,常用的组合建议简单一些,比如启动终端,默认情况下需要Alt + Shift + Return
- 默认情况下Alt + Shift + r:重启窗口管理器,我理解应该重新加载配置而不重启窗口管理器,测试环境下jwm直接退出了
- jterm4 应该也有个配置,可以定义字体,透明什么的,还没找到
- 安装过程其实相对较慢,cargo install 下载安装的依赖也不少,单就安装来说,没有比dwm bspwm方便,也不够轻量
- 声音的地方有部分乱码,可能缺少字体(SauceCodePro Nerd Font 这个字体我是安装了的)
- 完成度还是比较高的,就是缺文档

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
