This is the mail archive of the
mailing list for the Cygwin project.
Re: Can I change the windows icon from command line?
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Wed, 1 Nov 2017 00:08:00 -0600
- Subject: Re: Can I change the windows icon from command line?
- Authentication-results: sourceware.org; auth=none
- References: <HK2PR06MB16498F3682194B03A0100BCED65F0@HK2PR06MB1649.apcprd06.prod.outlook.com>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
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,
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
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple