25 September 2010

Setting VTE inner-border


Update: the trick only work for
        GTK+ verson <= 2.91.5
Default inner-border of VTE is 1 pixel.

If you prefer smaller inner-border,
you may paste those below to your
$HOME/.gtkrc-2.0:

style "a" {
  VteTerminal::inner-border = { 0, 0, 0, 0 }
}
widget "*" style "a"

This is the only one method I know to set
inner-border of VTE.

1 comment:

  1. Thanks for this info! It took me a while to figure out what to do with gtk-3.0, so I thought I'd share with everyone who finds this page. Put this in your .config/gtk-3.0/gtk.css:

    VteTerminal {
    -VteTerminal-inner-border: 0 0 0 0;
    }

    It's going to change again at one point, there's already a commit it git vte-next branch, but it's going to take a lot of time for that branch to become stable.

    ReplyDelete