[Konsole-devel] [Bug 152385] Allow konsole to store terminal size in the profile.

Jekyll Wu adaptee at gmail.com
Thu Apr 12 13:40:17 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=152385

Jekyll Wu <adaptee at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adaptee at gmail.com

--- Comment #84 from Jekyll Wu <adaptee at gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list