You are not logged in.
Hi,
I've been finalizing my Qtile config, and there's a problem I couldn't solve.
When I launch a terminal program like htop or ranger from rofi or a keybinding (Not from a terminal shell),
it doesn't use the whole window, and only about a quarter of it: https://i.imgur.com/GRuXXDe.png https://i.imgur.com/7biFRbb.png
I use kitty, and tried using different terminals but it kept happening.
Also, I tried other window managers and Qtile's default config, but it didn't solve the issue.
Whan can I do to fix this?
EDIT: Weird thing, I updated neovim to the nightly version, and now it works and fills the whole window. Only neovim though, other programs still don't.
Mod Edit - Replaced oversized images with links.
CoC - Pasting pictures and code
Last edited by Slithery (2021-06-21 13:49:12)
Offline
I also encountered this problem but could not find a solution.
The problem is that when you start a terminal application the window is not ready yet.
Specifically, after the terminal application queries the size of the window, the size of the window still changes depending on the current layout.
I only managed to bypass it by putting a `sleep 1` delay in front of the command so that the application starts in the final window size.
for example:
#!/bin/bash
sleep 1
htop[I hope I was understandable, unfortunately I don't speak English.]
Last edited by SzzS (2021-06-21 09:02:40)
SzzS
Sorry, I don't speak english well. ![]()
Offline
When you quit the application and type stty -a, how many rows and columns are reported?
Offline
I also encountered this problem but could not find a solution.
The problem is that when you start a terminal application the window is not ready yet.
Specifically, after the terminal application queries the size of the window, the size of the window still changes depending on the current layout.
I only managed to bypass it by putting a `sleep 1` delay in front of the command so that the application starts in the final window size.
for example:#!/bin/bash sleep 1 htop[I hope I was understandable, unfortunately I don't speak English.]
Thanks, your solution works when I use a keybinding, but it doesn't solve the problem when launching from rofi.
Also, I decreased the sleep time to 0.00001
Offline
When you quit the application and type stty -a, how many rows and columns are reported?
Because this happens only when I launch terminal programs right away with kitty (no shell running), killing the program kills the window.
Offline
Alright, invoke stty from a different window with the -F option.
Offline
Alright, invoke stty from a different window with the -F option.
Thanks, but I didn't understand how to use the -F option...
How to link the other terminal window as a device?
Offline
I also had the same issue and I first found this topic here, tried the solution (or trick) but it didn't work for me so I continued my search for the solution and found it on official Qtile github. Here is the link -
https://github.com/qtile/qtile/commit/2 … 2ee5074846
File path:
usr/lib/python3.9/site-packages/libqtile/sh.py
I hope it will help you ![]()
Last edited by Rohit42 (2021-10-27 09:46:58)
Offline
Thank you very much!
Offline