 系统安装
总共6项
debian+i3安装过程人生如逆旅,我亦是行人。
最后更新于2025-03-12 17:54:26

1. 安装软件

apt install i3 xinit sakura rofi thunar feh fcitx5-rime rime-data-wubi lxappearance xarchiver pulseaudio blueman thunar-archive-plugin deepin-screenshot neofetch ristretto intel-microcode fonts-noto-cjk

# 安装xinit  X服务
# i3 平铺式桌面管理器
# sakura 终端
# rofi 程序查找
# thunar 文件管理区
# feh 背景设置
# fcitx-rime 输入法
# lxappearance 设置字体主题
# xarchiver 解压缩
# pulseaudio 声卡驱动 默认是静音,需要打开静音,然后才有声音
# blueman 蓝牙 # 其附带的托盘工具名为blueman-applet
# thunar-archive-plugin thunar右键添加“压缩/解压”菜单
# deepin-screenshot 截图
# neofetch 系统信息
# ristretto 图片查看器

2. 配置文件地址

~./config/i3/config
~./config/i3status/config

3. rofi配置

mkdir -p ~/.config/rofi
rofi -dump-config > ~/.config/rofi/config.rasi
drun-icon-theme: "MY_ICON_THEME";

4. 亮度调节

# xorg-xbacklight 亮度调节
bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness

bindsym XF86MonBrightnessUp exec light -A 10 && killall -SIGUSR1 i3status
bindsym XF86MonBrightnessDown exec light -U 10 && killall -SIGUSR1 i3status
# 如果没有killall命令,安装psmisc

5. 添加休眠和锁屏

exec --no-startup-id xset dpms 333 666
系统闲置333秒后灭屏,666秒后系统挂起。

6. 设置锁屏背景

bindsym l exec --no-startup-id i3lock i3clock -i ~/.poo/i3lock.png
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -i ~/.poo/i3lock.png

7. 消息通知和蓝牙

exec --no-startup-id dunst
exec --no-startup-id blueman-applet

8. 分配到某个虚拟空间

for_windwo [title="poo@debian: ~"] move to workspace 1
assign [class="X-terminal-emulator"] 1

# 注:可以通过xprop来获取类名,sublime不支持,官方解释软件未开源,无法支持

9. 我的配置

https://github.com/testpoo/i3config

10.桌面插件Conky

https://www.cnblogs.com/LungGiyo/p/6019412.html
https://www.lifewire.com/beginners-guide-to-conky-4043352
展示在桌面:own_window_type override