Konsole window size weirdness
by rnturn from LinuxQuestions.org on (#4W7E9)
Let's get this out of the way: openSUSE Leap 15.1 (up to date w/ patches) running KDE.
About the first thing I ever do with a new Linux setup is set the default Konsole terminal size to 80x24 with Courier as the font ("12.0" in this case) in the "Shell" profile. I don't use the "Tabs" feature and the Tab bar is not being displayed anyway.
I have Konsole added to the panel to quickly launch it. But... when I launch it, I've been getting 80x25 as the size (as reported by "stty -a").
I've double checked the "Shell" profile and it's set to 80x24. I've created a new profile ("Standard") to 80x24. I edited the properties of the panel icon to include the "--profile <profile-name>" command line switch to force a specific profile and that didn't make any difference---I still 80x25. I created a "Wide" profile -- 132x24 -- and issued "konsole --profile Wide" and got a "132x25" window.
If I set up a profile to have a non-standard (non-VT-100, anyway) 23 rows, I get 24 when I launch konsole. Makes no sense at all that one should have to do this.
I checked to see if there was any KDE window properties/rules defined (via "Special Window Settings...") and there were none (see below, though).
In some cases, after I've opened a new konsole next to an exiting konsole window and gotten different font sizes. Same size window but the rows/cols were obviously different---in one case I wound up with a 72x20 window. This is what happened to night and got me checking other terminal window properties. I've probably been using 80x25 windows for quite some time but never realized it.
I didn't want to enforce a window size via the Special Settings dialog -- I often expand a konsole to full screen when tailing log files with long lines -- and I'm betting that going that route is going to present problems one day. But I'm experimenting with "Size -> Remember" and "Obey geometry -> Force temporarily -> No" to see how that goes. I'm sure the window size will be consistent but who knows about the row/col count will wind up being should the font size be ignored.
And there's always the venerable "xterm". I fired up an xterm and ran "konsole &" and checked the rows/cols with the Special Setting in effect: "80x24". After disabling the "Size -> Remember" setting and rerunning "konsole &", I get "80x25". So it doesn't seem to matter how konsole is being launched. (Moving back to xterm is, I suppose, always an option---at least it hasn't screwed up the row count.)
Q: Has anyone else seen konsole do strange things like ignore profile settings?
Q: What could be adding the extra row? (Baker's Two Dozen? Ask for 24 rows and get one free?)
TIA...


About the first thing I ever do with a new Linux setup is set the default Konsole terminal size to 80x24 with Courier as the font ("12.0" in this case) in the "Shell" profile. I don't use the "Tabs" feature and the Tab bar is not being displayed anyway.
I have Konsole added to the panel to quickly launch it. But... when I launch it, I've been getting 80x25 as the size (as reported by "stty -a").
I've double checked the "Shell" profile and it's set to 80x24. I've created a new profile ("Standard") to 80x24. I edited the properties of the panel icon to include the "--profile <profile-name>" command line switch to force a specific profile and that didn't make any difference---I still 80x25. I created a "Wide" profile -- 132x24 -- and issued "konsole --profile Wide" and got a "132x25" window.
If I set up a profile to have a non-standard (non-VT-100, anyway) 23 rows, I get 24 when I launch konsole. Makes no sense at all that one should have to do this.
I checked to see if there was any KDE window properties/rules defined (via "Special Window Settings...") and there were none (see below, though).
In some cases, after I've opened a new konsole next to an exiting konsole window and gotten different font sizes. Same size window but the rows/cols were obviously different---in one case I wound up with a 72x20 window. This is what happened to night and got me checking other terminal window properties. I've probably been using 80x25 windows for quite some time but never realized it.
I didn't want to enforce a window size via the Special Settings dialog -- I often expand a konsole to full screen when tailing log files with long lines -- and I'm betting that going that route is going to present problems one day. But I'm experimenting with "Size -> Remember" and "Obey geometry -> Force temporarily -> No" to see how that goes. I'm sure the window size will be consistent but who knows about the row/col count will wind up being should the font size be ignored.
And there's always the venerable "xterm". I fired up an xterm and ran "konsole &" and checked the rows/cols with the Special Setting in effect: "80x24". After disabling the "Size -> Remember" setting and rerunning "konsole &", I get "80x25". So it doesn't seem to matter how konsole is being launched. (Moving back to xterm is, I suppose, always an option---at least it hasn't screwed up the row count.)
Q: Has anyone else seen konsole do strange things like ignore profile settings?
Q: What could be adding the extra row? (Baker's Two Dozen? Ask for 24 rows and get one free?)
TIA...