transset tool ( part of deb-x11 apps)
transset [_-options ..._] [_opacity_]
opacity value is a number from 0 to 1, with zero being fully transparent and 1 being fully opaque.
default mode :
shell comannd , then point and click target window
-id option selects the target window by window id.
TODO : wat is de windows id in deze context , blijkbaar verschillend met de win id van bij wmctrl
https://math-linux.com/man/man1/transset.1.html
https://wiki.archlinux.org/title/Per-application_transparency
to have a transparent window under X11
you need :
- an X11 server with composite extension
- a composite manager
- an ARGB visual for your window
You don’t need to use OpenGL directly: the composite manager could use it to render the screen.
If you’re going in the GTK path, have a look at
- gdk_x11_display_composite
- gdk_screen_is_composited
- gdk_display_supports_composite
- gdk_screen_get_rgba_visual
- gdk_screen_get_rgba_colormap
But you could also use Qt or another toolkit.
transset-df
https://aur.archlinux.org/pkgbase/transset-df
A patched version of X.Org’s transset with added functionality
mousepad & sleep .8s && transset-df -a
TODO
you moet de installer zelf compileren (er zit bij mij momenteel een error bij)
de tar ball is reeds downloade (versie 6) en zit in install.linux