4

I'm using Lubuntu 17.10, and I installed Terminator. When opening two tabs, I noticed that the window, even in full screen, has an ugly white border around all of it.

enter image description here

Seeing the image here might be difficult because of the white background, but this is the image of a full screen Terminator with two tabs opened. How can I get rid of it? Is it LXDE's fault?

3

This did the trick for me. Use the following in your ~/.config/gtk-3.0/gtk.css

.terminator-terminal-window notebook {
    border: none;
}
3
  • 1
    This answer is incomplete, try at least telling op where to put these lines
    – j-money
    Mar 12 '19 at 15:49
  • That is exactly what I did and it works like a charm. Aug 20 '19 at 19:37
  • Great, that worked! I restarted Gnome Shell with Alt+F2, r (maybe it was not needed). And restarted terminator. I had gtk-4.0 directory as well, but gtk-3.0 worked fine. Note that if you want to add comments in CSS, use /* */. Jan 10 at 10:39
2

I opened gtk-inspector from terminal, I couldn't open it from terminator itself. Using the gtk-inspector I found the following css rule added to ~/.config/gtk-3.0/gtk.css removed the ugly white border.

.terminator-terminal-window notebook header, .terminator-terminal-window stack {
    border: none;
}
2
  • It did not work for Ubuntu 18
    – user
    Jul 11 '19 at 18:34
  • That works in Manjaro with Gnome! Aug 20 '19 at 19:36
1

This is most probably gtk theme's fault. I has this border with arc-gtk-theme, but not with some others

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.