You are not logged in.
Pages: 1
(Sorry, I'm using deepl translator)
xterm https://imgur.com/9iYD2q0
xfce4-terminal https://imgur.com/SBsUi0S
lxterminal https://imgur.com/Qibs6H2
kitty https://imgur.com/yxRriBM
This unwanted "gap" happens with lxterminal, xfce4-terminal and xterm. With kitty the problem does not happen. Does anyone know the reason? Bug?
When I position the windows with xfwm shortcuts, with any positioning mode using keyboard shortcuts, whether the Tile Window option or not. The problem only happens using the keyboard shortcuts.
What is strange, is that this problem only happens with terminals, other applications that I use, like Firefox, Gimp,Mousepad etc. this does not happen.
I use Debian Bullseye, xfwm 4.16.1.
Offline
Hello and welcome.
When I position the windows with xfwm shortcuts, with any positioning mode using keyboard shortcuts, whether the Tile Window option or not. The problem only happens using the keyboard shortcuts.
Do you mean that if you have "Automatically tile windows..." enabled and you drag the window to a side or corner, that the window size is fine? If so, that is odd.
The xfce4-terminal window size is dependent on the geometry of the font size and dimensions of the window. This works differently than windows like thunar or mousepad that are sized based on pixel dimensions.
You can try to account for these minor discrepancies by padding the vte element inside the terminal window to in effect, add extra dimension to lessen the gap. The way to do this is to create, or add to, ~/.config/gtk-3.0/gtk.css the following content:
VteTerminal, vte-terminal {
padding-left: 4px; padding-right: 4px;
padding-top: 6px; padding-bottom: 6px;
}
Adjust the numeric values until the window fits properly.
Note that this will offset the text in the terminal window due to the padding.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello and welcome.
tdzito wrote:When I position the windows with xfwm shortcuts, with any positioning mode using keyboard shortcuts, whether the Tile Window option or not. The problem only happens using the keyboard shortcuts.
Do you mean that if you have "Automatically tile windows..." enabled and you drag the window to a side or corner, that the window size is fine? If so, that is odd.
The xfce4-terminal window size is dependent on the geometry of the font size and dimensions of the window. This works differently than windows like thunar or mousepad that are sized based on pixel dimensions.
You can try to account for these minor discrepancies by padding the vte element inside the terminal window to in effect, add extra dimension to lessen the gap. The way to do this is to create, or add to, ~/.config/gtk-3.0.gtk.css the following content:
VteTerminal, vte-terminal { padding-left: 4px; padding-right: 4px; padding-top: 6px; padding-bottom: 6px; }
Adjust the numeric values until the window fits properly.
Note that this will offset the text in the terminal window due to the padding.
It worked here. I changed the values to the most appropriate ones. Thanks a lot. xfce always amazes me.
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 533.07 KiB (Peak: 533.91 KiB) ]