You are not logged in.

#1 2013-05-25 08:34:23

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[solved] Internal padding in gnome-terminal

Hi there,

Is there a way to define an internal padding in gnome-terminal of Gnome 3.8?

The output is too close to the window borders and I would like to have them placed a bit more inside.

At the moment it looks like that: http://i.imgur.com/QlVPrFf.png

Thanks!

EDIT:

To move the terminal output away from the window borders create the stylesheet ~/.config/gtk-3.0/gtk.css with the following setting:

   TerminalScreen {
     -VteTerminal-inner-border: 10px 10px 10px 10px;
   }

Last edited by orschiro (2013-05-26 20:15:42)

Offline

#2 2015-06-04 06:16:41

arthurbailao
Member
Registered: 2014-10-22
Posts: 1

Re: [solved] Internal padding in gnome-terminal

On most recent Gnome 3.16 we need to create the stylesheet ~/.config/gtk-3.0/gtk.css with the following setting:

VteTerminal,
TerminalScreen {
    padding: 10px 10px 10px 10px;
    -VteTerminal-inner-border: 10px 10px 10px 10px;
}

Ref.: https://wiki.archlinux.org/index.php/GN … e_terminal

Offline

#3 2015-06-04 08:57:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] Internal padding in gnome-terminal

Hi arthurbailao, welcome to the Arch Linux forums.

Please take a moment to read the forum etiquette. In particular, there's no need to repost the wiki on two year old solved threads, doing so is considered necrobumping.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB