Thursday, May 9, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 11985  / 2 Years ago, wed, february 2, 2022, 7:20:59

How to start Putty in a maximized window in Ubuntu 12?



When I use Windows, I use this method



But in Ubuntu, I don't have this option.


More From » window-management

 Answers
7

  • Apparently you cannot enlarge the initial (configuration) window with -geometry.

  • Also the -geometry setting is ignored if it is overwritten by the terminal size in Putty.



Actually the most convenient form to specify the size of the Putty window is by using the Putty configuration. You can have different default settings by giving them with the -load option on the commandline. See below.



Following settings can be changed which affect the size of the resulting Window:




  • Font (Category :: Window :: Fonts) by using another size



Fonts settings from the Debian GNU/Linux version of Putty, on Ubuntu it's similar




  • Window Columns and Rows (Category :: Window)



Columns and Rows setting - from the Windows version, but likewise on Unix



If you only need a single setting, do it as follows:




  • Start Putty

  • Click on Session

  • Click on Default Settings

  • Click on Load



Then edit the above settings to your needs. Afterwards do not forget to save it via:




  • Click on Session

  • Click on Default Settings (or, for additional settings as explained below, enter the name of the configuration you want to save in the textbox above Default Settings)

  • Click on Save



Now if you open Putty the next time, enter the Host Name and click Open the altered Default Setting will be loaded and give your Screen the chosen size.



By copying this Default Setting to some small/medium/large setting, you can even have different defaults active when loading Putty. All you have to do is to leave blank the Host Name in these additional defaults. Then start it as follows, from shortcuts or commandline:



putty -load small HOST
putty -load medium HOST
putty -load large HOST


Leave HOST away if you want to enter it into Putty. (If you leave away the -load XXX then Putty will use Default Settings).



If you save some configuration with a Host Name preset, and saved under HOST1 for example,



Actually the screenshot is from the Windows version of Putty, but under Unix it works the same



you can start this session directly from commandline by loading this configuration:



putty -load HOST1


You can re-use this saved session as a template and override the Host Name as well from commandline, as follows



putty -load HOST1 another.host.example.com


HTH



PS: Sometimes Putty is just a bit too straight forward to be easily understood ;)


[#28991] Thursday, February 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
antoccasiona

Total Points: 430
Total Questions: 127
Total Answers: 131

Location: Netherlands
Member since Sat, Jun 26, 2021
3 Years ago
antoccasiona questions
Sat, Oct 23, 21, 22:34, 3 Years ago
Sat, Sep 24, 22, 09:39, 2 Years ago
Sun, Jan 15, 23, 11:08, 1 Year ago
;