lxde / lxterminal

VTE terminal emulator written in GTK
GNU General Public License v2.0
159 stars 55 forks source link

Missing background transparency in 0.4.0 #110

Open Barracuda72 opened 1 year ago

Barracuda72 commented 1 year ago

Just updated to 0.4.0 and noticed there's no background transparency anymore. Why was it removed? Is it possible to bring it back?

Barracuda72 commented 1 year ago

Upon further investigation, it looks like version 0.3.2 behaves the same when built with GTK3. GTK3 color picker (at least the one used in the app) doesn't allow choosing transparency for the color, so the whole app ends up missing it.

FinboySlick commented 1 year ago

On GTK3 it is hard to find but it is there. You need to click on background, then add a 'custom colour' and the slider for opacity is at the bottom.

Barracuda72 commented 1 year ago

Снимок экрана_2023-01-12_21-32-37 Oh, thank you! I managed to find that and set the color to be transparent. However, lxterminal's background still don't account for the transparency (it uses a solid variant of the color specified)

FinboySlick commented 1 year ago

Transparency requires that you have a compositor running. If this is a standard LXDE install, the window manager (Openbox) does not perform compositing. I personally use compton but there are others. See if your distro has it available, your terminal should become transparent as soon as compton is started.

Barracuda72 commented 1 year ago

Well, I've been using GNU/Linux since Luminocity was a thing, so I know a thing or two about compositing window managers :) The problem is, compositor (xfwm4) is running, all effects are working and e.g. xfce4-terminal have no problems displaying transparent background. Only lxterminal does.

FinboySlick commented 1 year ago

You're already ahead of me then. I can confirm that it works with compton but that's about the extent of my ability to test right now as I don't run xfwm4.

Barracuda72 commented 1 year ago

For now I reverted back to 0.3.2 on GTK2 and everything seems to be fine. I wonder why that was happening.