From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74409 invoked by alias); 1 Nov 2017 06:08:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 73676 invoked by uid 89); 1 Nov 2017 06:08:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=mintty, Hx-spam-relays-external:!192.168.1.100!, H*RU:!192.168.1.100!, changeable X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 01 Nov 2017 06:08:03 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id 9mC0egbnfI8mC9mC1e8rmo; Wed, 01 Nov 2017 00:08:01 -0600 X-Authority-Analysis: v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=8odn24VsfjSX5Qci72QA:9 a=pILNOxqGKmIA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Can I change the windows icon from command line? To: cygwin@cygwin.com References: From: Brian Inglis Message-ID: Date: Wed, 01 Nov 2017 06:08:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfHDTYj4iI4I/D/1LSf4gNHJEZVSdKAlWptKAu25OQZTCME7b1zMk5Many1M1Cl0YEeoB0u21O7T3S5s4qe0hjeUr5InxBT5O/0RRSrjCTSg3GVwzHe0B H42x0EpZ8LAVkDsh4vYS+5/HlpxR730JQ2IyezAPWQIHpYxvP8nhsF/nrle0Wje1Ic2Wa1BEmqUK8w== X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00005.txt.bz2 On 2017-10-31 20:41, P RC wrote: > Is it possible to change the current Cygwin window's icon from command line? > I used to ssh to multiple servers from cygwin tabs within ConEmu. > Changing icon will be greatly helpful to make sure which machine I am on at > the first glance at the tabs. As far as I know, you can only specify an icon before startup in a Windows shortcut, or on a mintty command line. A window icon may be changeable after a window is created some Windows utility which provides that specific function. If you are using mintty windows, you can run each with different options for -i, --icon FILE[,INDEX], and you may also want to customize -p, --position X,Y; these can also be specified using additional config files and config directories. You can create Windows shortcuts with custom icons for mintty, ssh, or any other console program using Cygwin mkshortcut options -i, --icon=FILE and -j, --iconoffset=INDEX. With mintty, Windows shortcut icons are used for the window icon, unless overriden by config commands or command line options. You can however, change mintty, or any xterm, window *title*, using well known escape sequences from the target system, including from prompt strings. You can also change any Windows cmd console window title using the internal command title. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple