public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: Can I change the windows icon from command line?
Date: Thu, 02 Nov 2017 19:53:00 -0000	[thread overview]
Message-ID: <8364d12f-dbaf-268c-dc16-07ce86fcbf5f@towo.net> (raw)
In-Reply-To: <08097030.20171102131158@yandex.ru>

Hi Andrey,
> 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.
Yeah, I can imagine that some *very* tricky solution with hidden windows 
is possible,
but I'm sure at the price of lots of nerves and extensible testing.
I don't think it's worth the effort, especially as many people use icons 
only on the taskbar, not the labels.
But feel free to propose a patch :)

> 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.

--
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

  reply	other threads:[~2017-11-02 19:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01  2:42 P RC
2017-11-01  6:08 ` Brian Inglis
2017-11-01 20:59   ` Thomas Wolff
2017-11-01 21:06   ` bzs
2017-11-01 21:10     ` Thomas Wolff
2017-11-02  2:39       ` Brian Inglis
2017-11-02  6:47         ` Thomas Wolff
2017-11-02 10:20           ` Andrey Repin
2017-11-02 19:53             ` Thomas Wolff [this message]
2017-11-02 13:38           ` cyg Simple
2017-11-02 19:55             ` Thomas Wolff
2017-11-03 15:34               ` cyg Simple
2017-11-03 19:23                 ` Thomas Wolff
2017-11-03 20:03                   ` cyg Simple
2017-11-03 21:29                     ` Thomas Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8364d12f-dbaf-268c-dc16-07ce86fcbf5f@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).