EndeavourOS-i3配置(Archlinux)

发布时间 2023-07-27 19:52:24作者: 掰断曲别针

系统信息:

NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

系统安装

官方镜像下载:https://endeavouros.com/

  • 选择安装i3桌面系统

  • 配置窗口透明:

    • 安装 picom
    sudo pacman -Ss picom
    sudo pacman -S picom
    
    • 配置窗口透明

      找到i3配置文件 ~/.config/i3/config ,在其中找到下面这行代码取消注释:

      vexec_always --no-startup-id picom -b
      
    • 重新打开窗口,可以发现已经配置成功。

  • 更换壁纸
    找一张好看的壁纸,放到/usr/share/endeavouros/backgrounds/ 下,然后将配置文件中的图片路径改为你想要的壁纸路径。

    exec --no-startup-id sleep 1 && feh --bg-fill /usr/share/endeavouros/backgrounds/Animated.png
    
  • 如果想配置定时更换壁纸,请参考以下配置:

    #!/bin/sh
    
    while true; do
    	find ~/图片 -type f \( -name '*.jpg' -o -name '*.png' \) -print0 |
    		shuf -n1 -z | xargs -0 feh --bg-scale
    	sleep 15m
    done
    
    
  • 随机壁纸
    每次重启电脑或重启i3就会随机选择文件夹里的图片当作壁纸
    exec_always --no-startup-id feh --randomize --bg-fill ~/图片/*
    
    

常用软件安装

请根据实际情况查找合适你系统的软件安装

yay -S electronic-wechat-uos-bin
yay -S wemeet
yay -S bluemail
yay -S code
yay -S flameshot
  • 字体安装
sudo pacman -S wqy-bitmapfont wqy-microhei wqy-microhei-lite wqy-zenhei
sudo pacman -S noto-fonts-cjk adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts
  • 输入法安装
sudo pacman -S fcitx5 fcitx5-chinese-addons  fcitx5-qt fcitx5-gtk    fcitx5-pinyin-zhwiki
解决开机自启动及显示问题

/etc/environment 文件中添加以下内容

GTK_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx5

参考文档

https://blog.csdn.net/weixin_43372529/article/details/106712115