# archlinux **Repository Path**: katevolved/archlinux ## Basic Information - **Project Name**: archlinux - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-03 - **Last Updated**: 2026-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 1 DSL拨号上网的问题 ``` pacman -S networkmanager ppp ``` ## 2 中文输入法的问题 ``` sudo pacman -S fcitx5 fcitx5-gtk fcitx5-qt fcitx5-rime fcitx5-configtool fcitx5-chinese-addons cat > ~/.pam_environment << 'EOF' GTK_IM_MODULE DEFAULT=fcitx QT_IM_MODULE DEFAULT=fcitx XMODIFIERS DEFAULT=\@im=fcitx EOF fcitx5-configtool 可视化界面右侧搜索chinese添加双拼的规则 ``` ## 3 搭建桌面的问题 ``` # 安装 bspwm 及其依赖 pacman -S xorg-server xorg-xinit xorg-apps pacman -S lightdm lightdm-gtk-greeter accountsservice systemctl start accounts-daemon pacman -S vulkan-intel sudo pacman -S bspwm sxhkd polybar feh picom # 安装终端和工具(推荐) sudo pacman -S alacritty dmenu rofi # 安装字体(Dracula 主题常用) sudo pacman -S ttf-jetbrains-mono nerd-fonts # 安装锁屏工具 sudo pacman -S i3lock # 创建配置目录 mkdir -p ~/.config/alacritty # 下载 Dracula 主题 curl -o ~/.config/alacritty/dracula.toml \ https://raw.githubusercontent.com/dracula/alacritty/master/dracula.toml # 创建主配置 cat > ~/.config/alacritty/alacritty.toml << EOF import = ["~/.config/alacritty/dracula.toml"] [font] size = 12 [font.normal] family = "JetBrainsMono Nerd Font" style = "Regular" EOF # 创建 polybar 配置目录 mkdir -p ~/.config/polybar # 下载 Dracula 主题的 polybar 配置 curl -o ~/.config/polybar/config.ini \ https://raw.githubusercontent.com/dracula/polybar/master/config.ini mkdir -p ~/.config/rofi curl -o ~/.config/rofi/config.rasi \ https://raw.githubusercontent.com/dracula/rofi/master/config.rasi #!/bin/bash # Dracula 配色 bspc config normal_border_color "#44475a" bspc config active_border_color "#bd93f9" bspc config focused_border_color "#bd93f9" bspc config presel_feedback_color "#6272a4" # 窗口行为 bspc config split_ratio 0.50 bspc config borderless_mono_clr true bspc config gapless_mono_clr true bspc config focus_follows_pointer true bspc config pointer_modifier mod1 bspc config pointer_action1 move bspc config pointer_action2 resize_side bspc config pointer_action3 resize_corner # 规则 bspc rule -a Screenkey manage=off bspc rule -a Zathura state=tiled manage=on # 启动组件 nitrogen --restore & picom -b & # 透明动画效果 $HOME/.config/polybar/launch.sh & sxhkd & # 快捷键守护进程 chmod +x ~/.config/bspwm/bspwmrc ~/.config/sxhkd/sxhkdrc # 终端 super + Return alacritty # 应用启动菜单 super + d rofi -show run # 窗口切换 super + Tab rofi -show window # 关闭窗口 super + q bspc node -k # 切换工作区 super + {1-9,0} bspc desktop -f '^{}' # 移动窗口到工作区 super + shift + {1-9,0} bspc node -d '^{}' # 重启 bspwm super + alt + r bspc wm -r ```