Debian Codegraph @

History.md

raw symbols SCIP
1 # Picom History
2
3 Picom was forked in 2016 from the original Compton because it seemed to have become unmaintained.
4
5 The battle plan of the fork was to refactor it to make the code _possible_ to maintain, so potential contributors won't be scared away when they take a look at the code.
6
7 And also to try to fix bugs.
8
9 ## Rename
10
11 In 2019 the project name was changed from Compton to picom (git revision 8ddbeb and following).
12
13 ### Rationale
14
15 Since the inception of this fork, the existence of two compton repositories has caused some number of confusions. Mainly, people will report issues of this fork to the original compton, or report issues of the original compton here. Later, when distros started packaging this fork of compton, some wanted to differentiate the newer compton from the older version. They found themselves having no choice but to invent a name for this fork. This is less than ideal since this has the potential to cause more confusions among users.
16
17 Therefore, we decided to move this fork to a new name. Personally, I consider this more than justified since this version of compton has gone through significant changes since it was forked.
18
19 ### The name
20
21 The criteria for a good name were
22
23 0. Being short, so it's easy to remember.
24 1. Pronounceability, again, helps memorability
25 2. Searchability, so when people search the name, it's easy for them to find this repository.
26
27 Of course, choosing a name is never easy, and there is no apparent way to objectively evaluate the names. Yet, we have to solve the aforementioned problems as soon as possible.
28
29 In the end, we picked `picom` (a portmanteau of `pico` and `composite`) as our new name. This name might not be perfect, but is what we will move forward with unless there's a compelling reason not to.
30
31
32 # Compton
33
34 This is a copy of the README of the [original Compton project](https://github.com/chjj/compton/).
35
36 [![Join the chat at https://gitter.im/chjj/compton](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/chjj/compton?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
37
38 __Compton__ is a compositor for X, and a fork of __xcompmgr-dana__.
39
40 I was frustrated by the low amount of standalone lightweight compositors.
41 Compton was forked from Dana Jansens' fork of xcompmgr and refactored. I fixed
42 whatever bug I found, and added features I wanted. Things seem stable, but don't
43 quote me on it. I will most likely be actively working on this until I get the
44 features I want. This is also a learning experience for me. That is, I'm
45 partially doing this out of a desire to learn Xlib.
46
47 ## Changes from xcompmgr:
48
49 * OpenGL backend (`--backend glx`), in addition to the old X Render backend.
50 * Inactive window transparency (`-i`) / dimming (`--inactive-dim`).
51 * Titlebar/frame transparency (`-e`).
52 * Menu transparency (`-m`, thanks to Dana).
53 * shadows are now enabled for argb windows, e.g. terminals with transparency
54 * removed serverside shadows (and simple compositing) to clean the code,
55 the only option that remains is clientside shadows
56 * configuration files (see the man page for more details)
57 * colored shadows (`--shadow-[red/green/blue]`)
58 * a new fade system
59 * VSync support (not always working)
60 * Blur of background of transparent windows, window color inversion (bad in performance)
61 * Some more options...
62
63 ## Fixes from the original xcompmgr:
64
65 * fixed a segfault when opening certain window types
66 * fixed a memory leak caused by not freeing up shadows (from the freedesktop
67 repo)
68 * fixed the conflict with chromium and similar windows
69 * [many more](https://github.com/chjj/compton/issues)
70
71 ## Building
72
73 ### Dependencies:
74
75 __B__ for build-time
76
77 __R__ for runtime
78
79 * libx11 (B,R)
80 * libxcomposite (B,R)
81 * libxdamage (B,R)
82 * libxfixes (B,R)
83 * libXext (B,R)
84 * libxrender (B,R)
85 * libXrandr (B,R)
86 * libXinerama (B,R) (Can be disabled with `NO_XINERAMA` at compile time)
87 * pkg-config (B)
88 * make (B)
89 * xproto / x11proto (B)
90 * sh (R)
91 * xprop,xwininfo / x11-utils (R)
92 * libpcre (B,R) (Can be disabled with `NO_REGEX_PCRE` at compile time)
93 * libconfig (B,R) (Can be disabled with `NO_LIBCONFIG` at compile time)
94 * libdrm (B) (Can be disabled with `NO_VSYNC_DRM` at compile time)
95 * libGL (B,R) (Can be disabled with `NO_VSYNC_OPENGL` at compile time)
96 * libdbus (B,R) (Can be disabled with `NO_DBUS` at compile time)
97 * asciidoc (B) (and docbook-xml-dtd-4.5, libxml-utils, libxslt, xsltproc, xmlto, etc. if your distro doesn't pull them in)
98
99 ### How to build
100
101 To build, make sure you have the dependencies above:
102
103 ```bash
104 # Make the main program
105 $ make
106 # Make the man pages
107 $ make docs
108 # Install
109 $ make install
110 ```
111
112 (Compton does include a `_CMakeLists.txt` in the tree, but we haven't decided whether we should switch to CMake yet. The `Makefile` is fully usable right now.)
113
114 ## Known issues
115
116 * Our [FAQ](https://github.com/chjj/compton/wiki/faq) covers some known issues.
117
118 * VSync does not work too well. You may check the [VSync Guide](https://github.com/chjj/compton/wiki/vsync-guide) for how to get (possibly) better effects.
119
120 * If `--unredir-if-possible` is enabled, when compton redirects/unredirects windows, the screen may flicker. Using `--paint-on-overlay` minimizes the problem from my observation, yet I do not know if there's a cure.
121
122 * compton may not track focus correctly in all situations. The focus tracking code is experimental. `--use-ewmh-active-win` might be helpful.
123
124 * The performance of blur under X Render backend might be pretty bad. OpenGL backend could be faster.
125
126 * With `--blur-background` you may sometimes see weird lines around damaged area. `--resize-damage YOUR_BLUR_RADIUS` might be helpful in the case.
127
128 ## Usage
129
130 Please refer to the Asciidoc man pages (`man/compton.1.asciidoc` & `man/compton-trans.1.asciidoc`) for more details and examples.
131
132 Note a sample configuration file `compton.sample.conf` is included in the repository.
133
134 ## Support
135
136 * Bug reports and feature requests should go to the "Issues" section above.
137
138 * Our (semi?) official IRC channel is #compton on FreeNode.
139
140 * Some information is available on the wiki, including [FAQ](https://github.com/chjj/compton/wiki/faq), [VSync Guide](https://github.com/chjj/compton/wiki/vsync-guide), and [Performance Guide](https://github.com/chjj/compton/wiki/perf-guide).
141
142 ## License
143
144 Although compton has kind of taken on a life of its own, it was originally
145 an xcompmgr fork. xcompmgr has gotten around. As far as I can tell, the lineage
146 for this particular tree is something like:
147
148 * Keith Packard (original author)
149 * Matthew Hawn
150 * ...
151 * Dana Jansens
152 * chjj and richardgv
153
154 Not counting the tens of people who forked it in between.
155
156 Compton is distributed under MIT license, as far as I (richardgv) know. See LICENSE for more info.