dotfiles

avivaceGPL-3.0长期未更新

一套在 KDE Plasma 之上运行 i3 窗口管理器的配置方案,包含 Debian Sid 环境下的 dotfiles、脚本和踩坑记录,适合想兼顾平铺效率与桌面完整性的用户。

i3 + Plasma: using the i3 window manager on the top of KDE Plasma and other dotfiles, configurations, scripts, workarounds and practises from my Debian Sid machines.

暂无版本789star41fork同步于 2026-11-07 07:32 UTC

怎么上手

由 README 提炼,执行前请确认
sudo tee /usr/share/xsessions/plasma-i3.desktop <<'EOF'
[Desktop Entry]
Type=XSession
Exec=env KDEWM=/usr/bin/i3 /usr/bin/startplasma-x11
DesktopNames=KDE
Name=Plasma i3 session
Comment=Plasma i3 session
EOF
硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

在 KDE Plasma 之上运行 i3 窗口管理器,不依赖任何集成包,附完整配置指南

一套在 KDE Plasma 之上运行 i3 窗口管理器的配置方案,包含 Debian Sid 环境下的 dotfiles、脚本和踩坑记录,适合想兼顾平铺效率与桌面完整性的用户。

核心能力

  • 新建 plasma-i3.desktop 会话文件,在登录管理器里增加 Plasma i3 会话
  • 用 for_window 规则把 Plasma 弹窗、面板和对话框设为浮动,避免被平铺
  • 可移除 i3bar,改用 Plasma 自带状态栏与 Pager 组件显示工作区
  • 用 feh 或 nitrogen 设置桌面壁纸,picom 提供 V Sync 与透明模糊效果

容易踩的坑

需先装好可用的 Plasma 环境以及 i3 或 i3-gaps,否则新会话无法启动;i3 配置里杀掉 Plasma 壁纸窗口的规则按英文标题匹配,非英文环境需用 wmctrl 查出实际窗口名替换;picom 的模糊效果需用 git 版本构建,发行版自带版本可能不支持。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    dotfiles

    Here you can find the configuration files and a detailed guide to use the i3 window manager on the top of KDE Plasma desktop environment without relying on any kind of "integration" packages.

    ...as always: If this eats your cat or starts a global thermonuclear war, you are on your own.

    Screenshot

    More screenshots

    The rest of my configuration and dotfiles are described and documented in config.md.

    Requirements

    You will need the following things:

    • A working Plasma environement (just follow the instructions on how to install Plasma for your distro);
    • i3 or i3-gaps;
    • feh or nitrogen for setting the desktop background.

    And optionally:

    • A compositor like picom, for V Sync and transparency effects. You may want a version built from their git repo for stuff like blurring.

    Create a new X Session file

    As root (or with sudo) create a new file called plasma-i3.desktop in /usr/share/xsessions/ with the following content:

    [Desktop Entry]
    Type=XSession
    Exec=env KDEWM=/usr/bin/i3 /usr/bin/startplasma-x11
    DesktopNames=KDE
    Name=Plasma i3 session
    Comment=Plasma i3 session
    

    This will add a new available session in your login manager.

    Add some stuff in the i3 configuration

    Next, add the following lines in your i3 configuration (~/.config/i3/config):

    # Kill the wallpaper window set by Plasma*
    for_window [title="Desktop — Plasma"] kill; floating enable; border none
    
    # Set Plasma dialogs and pop ups as floating so they won't get tiled
    for_window [window_role="pop-up"] floating enable
    for_window [window_role="task_dialog"] floating enable
    for_window [class="systemsettings"] floating enable
    for_window [class="plasmashell"] floating enable;
    for_window [class="Plasma"] floating enable; border none
    for_window [title="plasma-desktop"] floating enable; border none
    for_window [class="krunner"] floating enable; border none
    for_window [class="Kmix"] floating enable; border none
    for_window [class="Klipper"] floating enable; border none
    for_window [class="Plasmoidviewer"] floating enable; border none
    for_window [class="plasmashell" window_type="notification"] border none, move right 700px, move down 450px
    no_focus [class="plasmashell" window_type="notification"
    
    # Set other stuff as floating
    for_window [class="(?i)*nextcloud*"] floating disable
    
    # Set the desktop background
    exec --no-startup-id feh --bg-scale <PATH_TO_YOUR_WALLPAPER>
    
    # Start the compositor daemonizing it (-b) and enabling shadows (-c)
    exec_always --no-startup-id picom -cb
    

    *The first line needs to be adapted if your Plasma language is not english. Use a tool like wmctrl to get the name of the window spawning when you login and replace the value in the i3 configuration file.

    From this point on, you can logout and relog with the newly created session.

    Optional final tuning

    Remove i3bar

    You may want to remove the lines related to the i3bar if you plan on keeping the Plasma status bar.

    The Plasma "Pager" widget shows the i3 workspaces nicely, just be sure to have "Workspace name" instead of "Workspace number" in its configuration.

    Disable "Activities" shortcut

    Disable the Meta+Q shortcut from Plasma Settings > Category Workspace > Shortcuts > Category System Services > Plasma > Activities

    Transparency and blurring

    This can be configured per-window or per-application in the compositor settings. See picom.

    The git version of picom has also dual_kawase as blur method.