Linux command
xcompmgr 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start with default settings
xcompmgr
Enable shadows
xcompmgr -c -l [left_offset] -t [top_offset] -o [opacity]
Enable shadows and fading
xcompmgr -cCfF -D [fade_time_ms]
Enable only fading effects
xcompmgr -fF
Run with softer shadows
xcompmgr -c -r [shadow_radius] -o [0.5]
Disable shadows on dock and panel windows
xcompmgr -c -n
说明
xcompmgr is a compositing window manager for the X Window System that adds visual effects to windows including drop shadows, transparency, and fading transitions. It operates as a standalone compositor that works with any ICCCM/EWMH compliant window manager. The compositor uses the X Composite extension to redirect window contents to off-screen pixmaps, then combines them with effects before displaying. This enables true transparency without the need for pseudo-transparency techniques. Windows can have per-window opacity set via tools like transset. Common configurations combine shadow (-c) and fade (-f) options for a polished desktop appearance. The shadow appearance is controlled through radius, offset, and opacity parameters. For lighter systems, shadows can be disabled on docks and panels with -C to reduce visual clutter.
参数
- -d _display_
- Specifies which display to manage.
- -c
- Enable client-side shadows on windows.
- -C
- Disable shadows on dock/panel windows with _NET_WM_WINDOW_TYPE_DOCK.
- -f
- Fade windows in and out when opening/closing.
- -F
- Fade windows during opacity changes.
- -r _radius_
- Shadow radius in pixels (default: 12).
- -o _opacity_
- Shadow opacity (0.0 to 1.0, default: 0.75).
- -l _offset_
- Left offset for shadows in pixels (default: -15).
- -t _offset_
- Top offset for shadows in pixels (default: -15).
- -n
- Normal client-side shadows (no fading).
- -s
- Enable synchronous X operation for debugging.
- -S
- Enable shadows on windows with shapes.
- -D _time_
- Fade time step in milliseconds (default: 10).
- -a
- Disable fading on window open/close.
- -I _opacity_
- Opacity change per step while fading in (default: 0.028).
- -O _opacity_
- Opacity change per step while fading out (default: 0.03).
FAQ
What is the xcompmgr command used for?
xcompmgr is a compositing window manager for the X Window System that adds visual effects to windows including drop shadows, transparency, and fading transitions. It operates as a standalone compositor that works with any ICCCM/EWMH compliant window manager. The compositor uses the X Composite extension to redirect window contents to off-screen pixmaps, then combines them with effects before displaying. This enables true transparency without the need for pseudo-transparency techniques. Windows can have per-window opacity set via tools like transset. Common configurations combine shadow (-c) and fade (-f) options for a polished desktop appearance. The shadow appearance is controlled through radius, offset, and opacity parameters. For lighter systems, shadows can be disabled on docks and panels with -C to reduce visual clutter.
How do I run a basic xcompmgr example?
Run `xcompmgr` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d _display_ do in xcompmgr?
Specifies which display to manage.