You are not logged in.
I've customized a few keybindings for tiling windows on my screen. Most apps work great (Firefox, Thunar, Geany, etc. all tile perfectly). LXTerminal, however, always resizes smaller than specified size, thus leaving a gap between it and adjacent windows. Sometime the gap is a just a few pixels; sometimes its 10+ pixels. An example keybinding that produces this result:
<keybind key="A-W-KP_1">
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>0</x>
<y>-0</y>
<width>640</width>
<height>50%</height>
</action>
</keybind>
This is merely aesthetic, but it drives me CRAZY! Is LXTerminal resizing differently because it maintaining a geometry associated with monospace font rows and columns? Any thoughts on how to resolve this problem for LXTerminal?
Last edited by johnny (2021-09-16 01:40:13)
Offline
Some terminal emulators display this behaviour. I had this issue when developing my window-tiling script, when placing terminal windows - there is always a gap. Terminals don't take account of window borders iirc.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I've customized a few keybindings for tiling windows on my screen. Most apps work great (Firefox, Thunar, Geany, etc. all tile perfectly). LXTerminal, however, always resizes smaller than specified size, thus leaving a gap between it and adjacent windows. Sometime the gap is a just a few pixels; sometimes its 10+ pixels. An example keybinding that produces this result:
<keybind key="A-W-KP_1"> <action name="Unmaximize"/> <action name="MoveResizeTo"> <x>0</x> <y>-0</y> <width>640</width> <height>50%</height> </action> </keybind>
This is merely aesthetic, but it drives me CRAZY! Is LXTerminal resizing differently because it maintaining a geometry associated with monospace font rows and columns? Any thoughts on how to resolve this problem for LXTerminal?
Exactly, this is because of the line/column geometry. Some terminal implementations are worse than others.
If you're looking for a decent terminal that is truly a different implementation (most GTK terminals are based on libvte and are essentially the same, konsole has a distinct implementation, and so is xterm, rxvt-unicode, ...), I would recommend kitty: https://sw.kovidgoyal.net/kitty/
Offline
Other than kitty, I've used all the other terminals in the past. I think I'll give kitty a try this time. Thanks for the tip!
Offline