From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67145 invoked by alias); 2 Nov 2017 19:53:33 -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 67118 invoked by uid 89); 2 Nov 2017 19:53:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Greetings, Wolff, wolff, frameless X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Nov 2017 19:53:31 +0000 Received: from [192.168.178.45] ([95.91.246.210]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LmjjU-1dVm0J42iC-00hAbb for ; Thu, 02 Nov 2017 20:53:28 +0100 Subject: Re: Can I change the windows icon from command line? To: cygwin@cygwin.com References: <23034.14121.700138.215194@gargle.gargle.HOWL> <24a5fd8b-b9d1-b7c0-1c0c-b0ec96159ce8@towo.net> <7362515c-61fe-bf66-2871-cbf4a11883b5@SystematicSw.ab.ca> <08097030.20171102131158@yandex.ru> From: Thomas Wolff Message-ID: <8364d12f-dbaf-268c-dc16-07ce86fcbf5f@towo.net> Date: Thu, 02 Nov 2017 19:53: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: <08097030.20171102131158@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:Fs/x817Mt/E=:Fv6UlzfqcKaPtBkeAIbd+a xhnoBT2c+ccggO9mvizRc/r3VvzFu+dZtuMKIUK2PBMcue6DUdZIDi6Z01V30TjMqqnjSx4F7 6Dyn6XS1+XD96N3TCJ2lGh0aQKRe81qlDMj3FBiroe3ATyfoVFRoD/23u8NNMe7M8NsdznpHL xGl3zlyGioD4do4VZ0IeuR9OwL3wj8bHfFF4sOluJdIyZpY5Sz31he7QWL5A8BNWtA8JQX+eN EtXaQSDiH7mFszCQDghMzyx/a5k9aATeXpttnfKQYIXLiEeSvZIh/hxDRo5rj4ftc1Xj4w8rM bTB3iD3Dx+IHhR+nLRiggbreSkf/MD9h7V+XKoXAX2x7YJ3qt9mw1a+cByXfDwH4ELoHqDn06 rSPlJmekBFTZhCDIMVNYHF+kGrqktRuJbMGdXZA6XFhRd7DiveYBUO9aSF7/RBvR4YusoPuxq 2TJJowPs2U4guhZwIn4ESxGRlNPNOSwiepY21PJXHN9yxrTO1MsZLU0hnu7hzwyYAVYQv8Ofm M664mUMbQJzaOIzBvj9G4ZtDfr6Mf9RWebC8/4Too5XkclaNbDGRuFItzrtH6ZOXa7CrXYgrt VvTLtkP0Otx5epjnr8kiLsv95REF8bhm+QcenO6tsffzaks6yVHOjCkj0n+dmeQ3RiA58emeU cFUcih9vavsuoS7vKGDTVV7aw/zSnbiJ+cDckkZK683Fl/Ten6UHnBLlhVyZG/oetjTAQ9Puw gFknHKqwKD0tV+1Qr14eYFsX8OtNqxiHqrPTllgvNE7C5PrMziTusfAgtPU= X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00045.txt.bz2 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