picom
=====
__picom__ is a compositor for X, and a [fork of Compton](History.md).
**This is a development branch, bugs to be expected**
You can leave your feedback or thoughts in the [discussion tab](https://github.com/yshui/picom/discussions).
## Call for testers
### `--experimental-backends`
This flag enables the refactored/partially rewritten backends.
Currently, new backends feature better vsync with the xrender backend and improved input lag with the glx backend (for non-NVIDIA users). The performance should be on par with the old backends.
New backend features will only be implemented on the new backends from now on, and the old backends will eventually be phased out after the new backends stabilize.
To test the new backends, add the `--experimental-backends` flag to the command you use to run picom. This flag is not available from the configuration file.
To report issues with the new backends, please state explicitly you are using the new backends in your report.
## Change Log
See [Releases](https://github.com/yshui/picom/releases)
## Build
### Dependencies
Assuming you already have all the usual building tools installed (e.g. gcc, python, meson, ninja, etc.), you still need:
* libx11
* libx11-xcb
* libXext
* xproto
* xcb
* xcb-damage
* xcb-xfixes
* xcb-shape
* xcb-renderutil
* xcb-render
* xcb-randr
* xcb-composite
* xcb-image
* xcb-present
* xcb-xinerama
* xcb-glx
* pixman
* libdbus (optional, disable with the `-Ddbus=false` meson configure flag)
* libconfig (optional, disable with the `-Dconfig_file=false` meson configure flag)
* libGL (optional, disable with the `-Dopengl=false` meson configure flag)
* libpcre (optional, disable with the `-Dregex=false` meson configure flag)
* libev
* uthash
On Debian based distributions (e.g. Ubuntu), the needed packages are
```
libxext-dev libxcb1-dev libxcb-damage0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-randr0-dev libxcb-composite0-dev libxcb-image0-dev libxcb-present-dev libxcb-xinerama0-dev libxcb-glx0-dev libpixman-1-dev libdbus-1-dev libconfig-dev libgl1-mesa-dev libpcre2-dev libpcre3-dev libevdev-dev uthash-dev libev-dev libx11-xcb-dev meson
```
On Fedora, the needed packages are
```
dbus-devel gcc git libconfig-devel libdrm-devel libev-devel libX11-devel libX11-xcb libXext-devel libxcb-devel mesa-libGL-devel meson pcre-devel pixman-devel uthash-devel xcb-util-image-devel xcb-util-renderutil-devel xorg-x11-proto-devel
```
To build the documents, you need `asciidoc`
### To build
```bash
$ git submodule update --init --recursive
$ meson --buildtype=release . build
$ ninja -C build
```
Built binary can be found in `build/src`
If you have libraries and/or headers installed at non-default location (e.g. under `/usr/local/`), you might need to tell meson about them, since meson doesn't look for dependencies there by default.
You can do that by setting the `CPPFLAGS` and `LDFLAGS` environment variables when running `meson`. Like this:
```bash
$ LDFLAGS="-L/path/to/libraries" CPPFLAGS="-I/path/to/headers" meson --buildtype=release . build
```
As an example, on FreeBSD, you might have to run meson with:
```bash
$ LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" meson --buildtype=release . build
$ ninja -C build
```
### To install
``` bash
$ ninja -C build install
```
Default install prefix is `/usr/local`, you can change it with `meson configure -Dprefix=<path> build`
### Nix Flake
Here's an example of using it in a nixos configuration
```Nix
{
description = "My configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
picom.url = "github:yaocccc/picom";
};
outputs = { nixpkgs, picom, ... }:
{
nixosConfigurations = {
hostname = nixpkgs.lib.nixosSystem
{
system = "x86_64-linux";
modules = [
{
nixpkgs.overlays = [ picom.overlays.default ];
environment.systemPackages = with pkgs;[
picom
];
}
];
};
};
};
}
```
## How to Contribute
### Code
You can look at the [Projects](https://github.com/yshui/picom/projects) page, and see if there is anything that interests you. Or you can take a look at the [Issues](https://github.com/yshui/picom/issues).
### Non-code
Even if you don't want to contribute code, you can still contribute by compiling and running this branch, and report any issue you can find.
Contributions to the documents and wiki will also be appreciated.
## Contributors
See [CONTRIBUTORS](CONTRIBUTORS)
The README for the [original Compton project](https://github.com/chjj/compton/) can be found [here](History.md#Compton).
## Licensing
picom is free software, made available under the [MIT](LICENSES/MIT) and [MPL-2.0](LICENSES/MPL-2.0) software
licenses. See the individual source files for details.
没有合适的资源?快使用搜索试试~ 我知道了~
linux-picom安装文件
共220个文件
h:35个
c:30个
o:27个
需积分: 0 0 下载量 120 浏览量
2023-05-19
22:19:26
上传
评论
收藏 902KB ZIP 举报
温馨提示
linux-picom安装文件
资源推荐
资源详情
资源评论
收起资源包目录
linux-picom安装文件 (220个子文件)
MPL-2.0 16KB
picom.1.asciidoc 26KB
picom-trans.1.asciidoc 3KB
CMakeDetermineCompilerABI_C.bin 15KB
meson.build 3KB
meson.build 2KB
meson.build 493B
meson.build 215B
meson.build 102B
win.c 92KB
picom.c 76KB
gl_common.c 60KB
dbus.c 50KB
opengl.c 45KB
render.c 44KB
c2.c 41KB
options.c 36KB
xrender.c 31KB
CMakeCCompilerId.c 26KB
event.c 23KB
config_libconfig.c 23KB
x.c 22KB
backend.c 20KB
glx.c 19KB
config.c 18KB
backend_common.c 16KB
log.c 9KB
dummy.c 5KB
vsync.c 5KB
kernel.c 4KB
file_watch.c 4KB
string_utils.c 3KB
driver.c 3KB
xrescheck.c 2KB
cache.c 2KB
diagnostic.c 2KB
utils.c 1KB
atom.c 1016B
sanitycheckc.c 46B
cmake.check_cache 85B
cmake.check_cache 85B
.clang-format 1KB
.clang-tidy 540B
CMakeCCompiler.cmake 2KB
CMakeCCompiler.cmake 2KB
CMakeMesonToolchainFile.cmake 2KB
Makefile.cmake 2KB
cmake_install.cmake 2KB
cmake_install.cmake 2KB
CMakeDirectoryInformation.cmake 672B
CMakeSystem.cmake 491B
CMakeSystem.cmake 475B
CMakeMesonTempToolchainFile.cmake 65B
picom.conf 15KB
issue239_2.conf 139B
issue314.conf 122B
issue239.conf 111B
clear_shadow_unredirected.conf 84B
issue394.conf 70B
issue239_3.conf 56B
issue465.conf 56B
issue357.conf 55B
empty.conf 0B
CONTRIBUTORS 3KB
COPYING 699B
coredata.dat 59KB
build.dat 45KB
install.dat 2KB
meson_benchmark_setup.dat 5B
meson_test_setup.dat 5B
compton.desktop 307B
picom.desktop 300B
picom-dbus.desktop 287B
Doxyfile 75KB
.editorconfig 78B
sanitycheckc.exe 15KB
.gitignore 699B
.gitignore 92B
.gitmodules 0B
compton-fake-transparency-fshader-win.glsl 487B
compton-default-fshader-win.glsl 233B
win.h 20KB
common.h 14KB
utils.h 13KB
config.h 12KB
x.h 11KB
backend.h 11KB
gl_common.h 7KB
test.h 7KB
opengl.h 6KB
meta.h 4KB
win_defs.h 4KB
list.h 4KB
log.h 3KB
picom.h 3KB
backend_common.h 3KB
compiler.h 3KB
region.h 3KB
glx.h 2KB
xrescheck.h 2KB
共 220 条
- 1
- 2
- 3
资源评论
Hesec
- 粉丝: 4
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功