delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/12/03:25:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=XFKb
cBzsMkFB93D9mfROnZtXKUurrwhlvRFYFx0R91TRceuuZgqEm5gdcTTWqvTUnB+I
OUUxJT4islrMj4OrApw0XL2RRBjKWTpoNTWWPsBWbsU7EaWnTYJwyKB3B6SMjXOi
r1PtlSW1Rg1PRp1ihqDs9zCjlg2dpmPLl82u0VY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=DiIrRRJt7+
Bi78L3kK6bZZglMhY=; b=iqn8ypYe+s8timd9mElm2K2ycZ0pBUHzoAWCyHzphT
Ele61F/fBmEYF27oR5xCEgewair1+Lt2NelHgwhQKvdAA+DieidM8Dn/eh0iOdwa
hM6HeO3FeUl1nbJAJb9K2KUEt3BFWIwz9ZLUTGdAtbRODtrFow5PTuKL9FqIEQB8
8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wm0-f44.google.com
X-Received: by 10.28.96.4 with SMTP id u4mr17333366wmb.52.1447316695882; Thu, 12 Nov 2015 00:24:55 -0800 (PST)
Subject: Re: Recent change to terminal icon / mintty breaks taskbar pinning
To: cygwin AT cygwin DOT com
References: <CAPsu6LjRyq99XsOR0hqPJOU2okZqTnq7JADyd25i6U+bMy2Bjw AT mail DOT gmail DOT com> <792817838 DOT 20151111065303 AT yandex DOT ru> <20151111085329 DOT GA20598 AT calimero DOT vinschen DOT de> <20151111103229 DOT GA14466 AT dinwoodie DOT org> <20151111121233 DOT GA5740 AT calimero DOT vinschen DOT de> <564351C9 DOT 6090109 AT gmail DOT com>
From: David Macek <david DOT macek DOT 0 AT gmail DOT com>
X-Enigmail-Draft-Status: N1110
Message-ID: <56444CD2.5040603@gmail.com>
Date: Thu, 12 Nov 2015 09:24:50 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <564351C9.6090109@gmail.com>
X-IsSubscribed: yes

--------------ms030100010807090000050805
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 11. 11. 2015 15:33, cyg Simple wrote:
> On 11/11/2015 7:12 AM, Corinna Vinschen wrote:
>> On Nov 11 10:32, Adam Dinwoodie wrote:
>>> On Wed, Nov 11, 2015 at 09:53:29AM +0100, Corinna Vinschen wrote:
>>>> On Nov 11 06:53, Andrey Repin wrote:
>>>>> Greetings, Brian Mathis!
>>>>>
>>>>>> I recently updated to the latest set of cygwin packages, and somethi=
ng
>>>>>> has broken the terminal icon when pinned to the start menu.  When
>>>>>> starting from the Start menu "Cygwin Terminal" icon, mintty comes up
>>>>>> normally, loads my user profile, and the cwd is set to ~.
>>>>>
>>>>>> However, if I right-click the icon on the taskbar and select "Pin to
>>>>>> taskbar", close the existing terminal, then open by clicking on the
>>>>>> pinned taskbar icon, the terminal starts but it does not load the
>>>>>> profile, the cwd is /usr/bin, and no commands can be found (e.g. ls:
>>>>>> command not found).  I have tracked this down to the pinned icon
>>>>>> missing the arguments "-i /Cygwin-Terminal.ico -".
>>>>>
>>>>>> I'm sure this worked prior to the update, so something seems to have
>>>>>> changed.  I update fairly often, so this is something recent within
>>>>>> the past month or so.  I'm on Windows 8.1 x64 using Cygwin 32bit.
>>>>>
>>>>> I've experienced this same issue across a wide range of applications,
>>>>> including AD management tools.
>>>>>
>>>>> I have a feeling this is unrelated to Cygwin.
>>>>
>>>> Yeah, pinning is only controlled by Windows itself (shell32
>>>> functionality, probably).  It's not under the control of the
>>>> application the shortcut points to.
>>>
>>> Not so.  This is related to the recent MinTTY changes[0].  I get the
>>> bugged behaviour on v2.2.1-0, but if I downgrade to v2.1.5-0, I get the
>>> behaviour Brian is describing as correct, with the command line
>>> arguments preserved when the program is pinned.
>>>
>>> I'll guess this is, in particular, related to the "optional Windows
>>> taskbar integration" listed in the changelog in the announcement email.
>>
>> Oh, ok, I didn't know that.  Thanks for clarifying.
>=20
> Yes indeed thanks for clarifying.  The issue exists regardless of if you
> pin the running task or you pin the Desktop icon.  Pinning the Desktop
> icon will cause a new icon on the taskbar when MinTTY is executing.
> Pinning the open task will cause subsequent task to bypass initial
> startup and be sitting in /usr/bin instead of $HOME.

Pinning the open task and then modifying the pinned shortcut to include the=
 correct arguments should make it work (both grouping and environment in sh=
ell).

Anyway, mintty has reverted the change, so v2.2.2 will probably work just l=
ike the ones before v2.2.1, once released.

--=20
David Macek


--------------ms030100010807090000050805
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG
9w0BBwEAAKCCDG8wggYzMIIFG6ADAgECAgMMb3owDQYJKoZIhvcNAQELBQ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BuJKl7DwywEXRwiNCo
d7OxOrtQR378v/fB0RQ1ZhpTs14kd3AIy6ZRTW5higD6XZXqdBJql24nHkQd
iQmff5p488CzFNCG21MqiPvxIQnbAeqf5Jkryf8LRAmmuSPme4Ae40oH7FIi
n5K/AWPt4pxyVx76JvFQuOsZ/YzHDUCJTJzY7NQp6KAM+aeObmWaHouzdNk9
WAMqdHPAyNbHmYrteBH1Q+4PqExYDhG8mUBOIpEqgnIq3xN4RyrqalcoD8Q1
G8Pb12SwoNJRMDFZ9eKgctGYjrBbRqq8dOEieEYD2eHOjFwFbrY961V4qDUt
zkp1dx+yzQ0SnFh0tSgjbJnyAAAAAAAA

--------------ms030100010807090000050805--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019