Linux command
kwin 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start KWin (X11)
kwin_x11 --replace
Start KWin Wayland
kwin_wayland
Restart KWin
kwin_x11 --replace &
Reconfigure KWin
qdbus org.kde.KWin /KWin reconfigure
List effects
qdbus org.kde.KWin /Effects listLoadedEffects
说明
KWin is the window manager for KDE Plasma. It handles window placement, decorations, virtual desktops, and desktop effects (compositing). KWin supports both X11 (kwin_x11) and Wayland (kwin_wayland) sessions, providing features like window tiling, wobbly windows, desktop grid, and scripting.
参数
- --replace
- Replace running window manager.
- --crashes _n_
- Crash limit for restart.
- --lock
- Start with screen locked.
- --no-kactivities
- Disable KActivities.
FAQ
What is the kwin command used for?
KWin is the window manager for KDE Plasma. It handles window placement, decorations, virtual desktops, and desktop effects (compositing). KWin supports both X11 (kwin_x11) and Wayland (kwin_wayland) sessions, providing features like window tiling, wobbly windows, desktop grid, and scripting.
How do I run a basic kwin example?
Run `kwin_x11 --replace` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --replace do in kwin?
Replace running window manager.