lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.27k stars 162 forks source link

Transparency is not working in Openbox #228

Open QazerLab opened 8 years ago

QazerLab commented 8 years ago

Hi,

looks like there is a bug with transparency again. I have Tilda 1.3.2, built from sources 3 days ago, and try to use it as desktop terminal, thus, I want it to be transparent to see my wallpaper. However, Tilda ignores any value of transparency, and always is opaque. The strange thing is that this behavior is observed only under Openbox; when started within Gnome session, transparency is OK.

My system is Ubuntu 15.10; version of vte being used is 2.91. (However, looks like I have 2.90 installed too, if it matters.)

Regards, Danila.

jasonehines commented 8 years ago

I had this issue on Ubuntu Mate. The default startup path was /usr/lib/ubuntu-mate/ubuntu-mate-tilda which points to a bash script. For some reason that script would overwrite my transparency settings that I set in ~/.config/tilda/config_0. My fix was just to point the startup command to: tilda

Maybe Openbox is setup similarly and you can bypass the problem. Hope that helps.

pik commented 8 years ago

I haven't had any issues with transparency in openbox - which composite manager are you running?

dotnetCarpenter commented 7 years ago

I thought I had the same issue as @jasonehines but my configuraton is read and applied. However, setting transparency level just change different background nuances of black.

~/.config/tilda $ ll
total 40
drwxrwxr-x  2 dotnet dotnet  4096 May  4 12:08 ./
drwx------ 62 dotnet dotnet 12288 May  3 02:17 ../
-rw-rw-r--  1 dotnet dotnet  2677 May  4 12:08 config_0
-rw-rw-r--  1 dotnet dotnet  2648 May  4 11:59 config_1

Both config_0 and config_1 changes enable_transparency, if I change transparency level in settings. But transparency = doesn't change with the settings in preferences.

If I mv config_1, quit tilda and open it via mate-terminal (I suspect it's really gnome-terminal), then it works. I check if it works after logout/login.

Similar: #269, #228, #221, #95

OS: Ubuntu Mate (Ubuntu 16.04.2 LTS) Display Manager: lightdm 1.18.3

dotnetCarpenter commented 7 years ago

Ok, it doesn't work after login. Tilda needs to be open manually before transparency works. However, the search appears outside tilda when open manually, while inside when open by the system.

I suspect that tilda is opening in a window manager that is not transparent by default. So the transparency is working but it's transparent to a black background that overlays everything else.

~Does anyone know how I can find out in which window manager it's opening in? It should be lightdm but after reading lightdm's front page, it seems that lightdm only manage other displays.~

https://wiki.ubuntu.com/LightDM

cat /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[Seat:*]
greeter-session=lightdm-gtk-greeter
dotnetCarpenter commented 7 years ago

And now it does.. I don't know what happen.