delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/24/01:48:28

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=rAEY2
rbwLq0y3lXfxByVnkhrMSZca9Sj3tv6TOU3vwChuZIhBslmEN39xuL1GUGDg2suv
yEVAKwvobo6cU7nZXvXBKUqt+55HwYPQJEcsAGfLFSn/hiA+AloCziyGLeus1CpK
Vhi46bS5B6xuaBb7XOLUyBAnlg7Fc175Pgs+b4=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=H0b0/1pyx8a
Yt/Ylp8FfNd8t4fo=; b=a7h6kSDjFaZvHIS6fpRwQxno5/juilT4eJIO9WT+1il
aUr+W7z4eVF1ow879SQyFpx3h7kmB+GNWdySys9EBjKZGLqEpv2fRgcwo6t28y+p
bOSf2hobnm63IYRPVce5KoeKse9mhPlatZfWjfs3yRbvA0S2pNp5y9Z8p8qZejgE
=
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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=menu, drastically, pressing, shortcuts
X-HELO: mail-in-06.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3qsz086HdhznML
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: can't open cygwin from shortcut
References: <201604231526 DOT u3NFQkLB011430 AT coolidge DOT cs DOT Dartmouth DOT EDU>
Date: Sun, 24 Apr 2016 07:47:32 +0200
In-Reply-To: <201604231526.u3NFQkLB011430@coolidge.cs.Dartmouth.EDU> (Doug McIlroy's message of "Sat, 23 Apr 2016 11:26:46 -0400")
Message-ID: <87vb374ky3.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)
MIME-Version: 1.0

Doug McIlroy writes:
> On a Microsoft Surface running CYGWIN_NT-10.0 version 2.4.1(0.293/5/3)
> I cannot start Cygwin from the desktop shortcut. It fails to find
> mintty. On failure, it proffers a browsing window focused on /bin.
> Clicking on mintty in that window does not work. I can start
> Cygwin via a Windows "run" request, however.

Provided the link target of that shortcut is correct (see below), it
appears that Windows doesn't see mintty as an executable.

> On a Dell desktop machine running CYGWIN_NT-6.3 version 1.7.34(0.285/5/3)
> where the shortcut works, I see that the pathname in the shortcut
> ends in mintty.exe. The .exe extension is missing in the 2.4.1
> shortcut. Could this be the cause? If so, is there a convenient
> way to edit a shortcut?

The shortcut target should have a ".exe" suffix I think.  I just tried
removing the ".exe" suffix from my shortcuts and Windows keeps adding it
back on.  Unless something changed drastically, the only way for that
not happening I can see is if there was another file named mintty
(without extension) or if mintty wasn't executable in a way that Windows
can determine.

Shortcuts can be edited by opening the context menu on them and then
selecting "Properties".  I've never used anything Windows in touch mode,
so if you're using that I don't really know how to get there.  With the
mouse it's right-click on the symbol or selecting the symbol and then
pressing the "menu" key if your keyboard has one of those.  I guess the
easiest way would be to just check that Cygwin knows the file as
"/usr/bin/mintty.exe" and no other files starting with "mintty" exist in
that directory and edit the shortcut to match that.  If that doesn't
work, remove any "/usr/bin/mintty*" that do exist and re-install the
mintty package.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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