Re: Can I change the windows icon from command line?
- Date: Thu, 2 Nov 2017 13:11:58 +0300
- From: Andrey Repin <anrdaemon@xxxxxxxxx>
- Subject: Re: Can I change the windows icon from command line?
Greetings, Thomas Wolff!
> I referred to changing the icon label (an existing sequence supported by
> xterm), i.e. the text shown in the taskbar, which cannot be changed in
> Windows as far as I know as it's always the same as the window title.
Two thoughts on this:
1. The taskbar button title is not necessarily the same as [visible]
application window title.
One of the cleanest solutions is to create a frameless main window and embed
your actual application window inside it. Downside is that the visible
application window titlebar may not look right.
Another solution is to create two windows, one only shown in taskbar, one is
an actual app window, and repost all messages from taskbar to the application
window. Downside is that not all shell features may work properly, such as
minimize-restore on repeated clicks.
In support of this feature, I can say that I have restricted space for taskbar
labels myself (approx 10 symbols) and have to be creative with window titles
from various sources to clearly identify the windows.
That including dances with /etc/debian_chroot and manual PROMPT_COMMAND settings.
2. Since there's no direct solution for setting window icon, an existing
sequence could be reused for our purpose, since there's no clean way to make
it work straight. Or a new sequence could be invented.
With best regards,
Thursday, November 2, 2017 12:58:42
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple