delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/11/09:33:32

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
:content-transfer-encoding; q=dns; s=default; b=IYaH9HEqDnQp+NTF
pveWup6/DinIoqiVyzeQ8URIHTVOmOmlSerIQKivid28l86MJ56I5vKrFsUX064M
kWiua/xSQ73/KASZYx8WTJtp/CM2KBrFZBcy7lVE/6dDCbN5FzV+Q5EHjaWImznw
0vUpy+0sa3pCa1B+fSoaTuuWXjk=
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
:content-transfer-encoding; s=default; bh=XKqRq4gUOTYzZT9dtgYna1
w77r4=; b=RhUQlGt5KlhDhtA22KL8ZzO/elLGFTd4w4P7HPrTV7gDwuddN0JTO+
QZs4tVOUQ/x23vdv8lNJvRqR0SI5od/tCPjxRTVFkoiA1z98qcCizdBXGEMUnhLx
h5c6KklvgZI5u3BO7kV5mDbTn3rii38vAUALBvWSJI/k2Xnd0XziY=
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=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-qk0-f177.google.com
X-Received: by 10.55.49.197 with SMTP id x188mr11276055qkx.45.1447252386379; Wed, 11 Nov 2015 06:33:06 -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>
From: cyg Simple <cygsimple AT gmail DOT com>
X-Enigmail-Draft-Status: N1110
Message-ID: <564351C9.6090109@gmail.com>
Date: Wed, 11 Nov 2015 09:33:45 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <20151111121233.GA5740@calimero.vinschen.de>
X-IsSubscribed: yes

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

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.

-- 
cyg Simple

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

- Raw text -


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