From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86302 invoked by alias); 24 Apr 2016 05:48:01 -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 86145 invoked by uid 89); 24 Apr 2016 05:47:52 -0000 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 Received: from mail-in-06.arcor-online.net (HELO mail-in-06.arcor-online.net) (151.189.21.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sun, 24 Apr 2016 05:47:40 +0000 Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id 3qsz0908q0z7lbM for ; Sun, 24 Apr 2016 07:47:37 +0200 (CEST) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id 02A36835A3D for ; Sun, 24 Apr 2016 07:47:37 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3qsz086HdhznML Received: from Gertrud (p54B46F42.dip0.t-ipconnect.de [84.180.111.66]) (Authenticated sender: stromeko@arcor.de) by mail-in-05.arcor-online.net (Postfix) with ESMTPSA id 3qsz086HdhznML for ; Sun, 24 Apr 2016 07:47:36 +0200 (CEST) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: can't open cygwin from shortcut References: <201604231526.u3NFQkLB011430@coolidge.cs.Dartmouth.EDU> Date: Sun, 24 Apr 2016 06:32:00 -0000 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 Content-Type: text/plain X-SW-Source: 2016-04/txt/msg00581.txt.bz2 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