picom
From Gentoo Wiki
picom is a lightweight compositor for X11. It was forked from the original Compton because it seems to have become unmaintained[1].
There are three different render backends available: xrender, glx, and xr_glx_hybrid.
Installation
USE flags
USE flags for x11-misc/picom A lightweight compositor for X11 (previously a compton fork)
+config-file
|
Enable config file support |
+doc
|
Build documentation and man pages (requires app-text/asciidoc) |
+drm
|
Enable support for using drm for vsync |
dbus
|
Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) |
opengl
|
Enable features that require opengl (opengl backend, and opengl vsync methods) |
pcre
|
Add support for Perl Compatible Regular Expressions |
test
|
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) |
Emerge
root #
emerge --ask x11-misc/picom
Configuration
Configuration file can be specified by the --config
parameter. By default, the configuration file is read from locations listed below.
An on-change configuration autoload is supported.
Files
If no --config
parameter is provided the following files are searched for in the following order.
- ~/$XDG_CONFIG_HOME/picom.conf - Local (per user) configuration file.
- ~/$XDG_CONFIG_HOME/picom/picom.conf - Local (per user) configuration file.
- /$XDG_CONFIG_DIRS/picom.conf - Global (system wide) configuration file.
- /$XDG_CONFIG_DIRS/picom/picom.conf - Global (system wide) configuration file.
The XDG/Base Directories defines $XDG_CONFIG_HOME
(~/.config
) and $XDG_CONFIG_DIRS
(/etc/xdg
).
Usage
It can be started as a background process:
user $
picom --daemon