chjj / compton

A compositor for X11.
Other
2.25k stars 501 forks source link

compton without Gnome ? #374

Open fredvs opened 8 years ago

fredvs commented 8 years ago

Hello.

Is t possible to use compton in a "Pure X" system ? In a FreeBSD distro (polYdev) that uses JWM, there is this info:

Window Style: ... Opacity: The opacity of the window. This is a floating point value between 0.0 and 1.0. Note that a composite manager, such as compton, is required for this.

OK, but compton needs lot of gnome dependencies and I do not want to install gnome. Is it possible to use/install compton without gnome dependencies, in a Xorg working system ?

Thanks.

Fre;D

licaon-kter commented 8 years ago

I don't have Gnome installed, I might have some libs.

What libs does it pull on your system?

fredvs commented 8 years ago

Ha, ok, super, then it is possible to use compton without Gnome installed.

Nice.

Do you know JWM window manager and is opacity working using compton ? If yes, what are the minimum extra-dependencies needed in a working Xorg FreeBSD system?

Thanks.

Fre;D

licaon-kter commented 8 years ago

No idea about those.

fredvs commented 8 years ago

OK, I will try to make compton work with JWM without Gnome dependencies.

Write you later .

Thanks.

CamilleScholtz commented 8 years ago

OK, but compton needs lot of gnome dependencies and I do not want to install gnome.

It doesn't, if it does, your distro is doing something wrong.

fredvs commented 8 years ago

Hello.

Yep, it works ;-)

But without using sudo pkg install compton because FreeBSD-pkg manager wanted to install thousand of (unneeded) Gnome dependencies.

I have installed compton manually, with the only needed libraries and it works perfectly.

compton_polydev

Many thanks to compton developers for this WoW composite manager.

Fre;D

licaon-kter commented 8 years ago

Now better ping the packager and point them to this fact maybe.

fredvs commented 8 years ago

Now better ping the packager and point them to this fact maybe.

OK, I will do it asap.

But, for compton in a "pure X" system, I find simpler to only copy in /usr/local/lib/ the needed libraries (if missing) --> ["libX11.so.6","libpcre.so.1","libGL.so.1","libXrender.so.1","libXext.so.6","libXrandr.so.2","libXcomposite.so.1","libdbus-1.so.3","libXdamage.so.1","libXinerama.so.1","libconfig.so.9","libXfixes.so.3"] and add compton + compton-trans in /usr/local/bin/. Also add compton.conf in /etc/xdg/.

By the way, what is compton-trans ?

Other thing, to close compton, i use: killall compton

Is it the right way ?

Thanks.

Fre;D

richardgv commented 8 years ago

By the way, what is compton-trans ?

A bash script that manipulates _NET_WM_WINDOW_OPACITY property on windows to specify their opacity when a compositor is active. A bash replacement for transset. See the comments in the beginning of the script for how to use it.

Other thing, to close compton, i use: killall compton

Is it the right way ?

Yes. Since compton does not have or need clean up routines, how you close it should not matter: SIGINT (generally Ctrl-C), SIGTERM, or SIGKILL should all be fine.