Comment 90 for bug 344522

Revision history for this message
In , adaptee (adaptee) wrote :

Status update :

I have recently added two profile options in the development branch for defining the preferred terminal size. No GUI control is added because those options currently do not always work as expected.

To use it, build the latest code from https://projects.kde.org/projects/kde/kde-baseapps/konsole/repository and manully put following lines under the [General] group in your profiles( ~/.kde4/share/apps/konsole/*.profile)

TerminalColumns=80(or whatever)
TerminalRows=24(or whatever)

Then, remove lines like "Height 800=801" and "Width 1280=1281" in ~/.kde4/share/config/konsolerc.

Now, start konsole and it should open at the size specified in the default profile.

And here is the catch: If konsolerc contains previously saved geometry information like "Height 800=801", those profile options does work. So if you want to use those options, make sure the "save window size and position on exit" option is disabled in each profile.

If you want to control the terminal size from command line, you can do it like this: "konsole -p 'TerminalColumns=80;TermisizeColumns=24' ". No dedicated command line options are added.

As you can see, this is far from a satisfactory solution. But it should be something useful for those who want/need to control the terminal size in a explicit way.