{"id":21,"date":"2010-02-01T14:45:48","date_gmt":"2010-02-01T13:45:48","guid":{"rendered":"http:\/\/toderu.ro\/blog\/?p=21"},"modified":"2010-02-01T14:45:48","modified_gmt":"2010-02-01T13:45:48","slug":"change-the-window-title-in-putty","status":"publish","type":"post","link":"https:\/\/kb.toderu.ro\/?p=21","title":{"rendered":"Change the window title in Putty"},"content":{"rendered":"<p>\t\t\t\tPutty is an SSH\/telnet\/etc client which allows you to connect to remote servers such as a Linux or BSD webserver. When<br \/>\nyou change directories etc in a terminal shell the window title in Putty is likely to change, depending on the shell&#8217;s<br \/>\nsettings. This post looks at how to change the Putty window title to be what you want and how to prevent it changing as<br \/>\nyou change directories.<\/p>\n<p>The first screenshot below shows the Windows taskbar with several instances of Putty running. The default value is<br \/>\nusually something like the login name followed by the hostname and then the current directory. This can make it<br \/>\ndifficult to know which window is which when wanting to bring up a specific open putty connection.<br \/>\nputty windows with default naming from the shell<\/p>\n<p>It is usually possible in your server&#8217;s shell configuration to change what appears in the window title, but instead of<br \/>\nmessing around with that you can do it in Putty instead.<\/p>\n<p>Before logging in, make a couple of configuration settings changes and you can make the window title whatever you want<br \/>\nit to be. Select &#8220;Window&#8221; -> &#8220;Bahaviour&#8221; and then enter a name in the &#8220;Window Title&#8221;. In the example below I have<br \/>\nlabelled it &#8220;webserver&#8221; but it can be anything you want. The title will appear in the window&#8217;s title area, the taskbar<br \/>\nbutton and in the Alt+Tab task switcher.<br \/>\nchanging the window title with putty<\/p>\n<p>The next step is to select &#8220;Terminal&#8221; -> &#8220;Features&#8221; and tick the box that is labelled &#8220;disable remote-controller window<br \/>\ntitle changing&#8221; as shown in the screenshot below. Without setting this option the window title is likely to change when<br \/>\nyou change directories on the remote server.<br \/>\nprevent xterm from changing the window title<\/p>\n<p>The final step is to save your settings so you don&#8217;t need to keep doing this each time. Go back to the main session<br \/>\nscreen, enter a name into the &#8220;Saved Sessions&#8221; section and click the &#8220;Save&#8221; button as shown in the screenshot below.<br \/>\nsave your session for next time<\/p>\n<p>The final screenshot below shows some example names and how much easier it is to distinguish among the various Putty<br \/>\nwindows open.<br \/>\nputty window titles with custom naming<\/p>\n<p>It&#8217;s really easy to change the window title in Putty and makes it a lot easier to identify a particular server when, if<br \/>\nlike me, you often have several of them open.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Putty is an SSH\/telnet\/etc client which allows you to connect to remote servers such as a Linux or BSD webserver. When you change directories etc in a terminal shell the window title in Putty is likely to change, depending on the shell&#8217;s settings. This post looks at how to change the Putty window title to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":0,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}