From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16202 invoked by alias); 24 Apr 2016 06:32:32 -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 2829 invoked by uid 89); 24 Apr 2016 06:32:16 -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_40,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Quick, want!, heading, Launch X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 24 Apr 2016 06:28:13 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1auDWa-0001ij-Je for cygwin@cygwin.com; Sun, 24 Apr 2016 08:28:09 +0200 Received: from S010690fba62c4bda.cg.shawcable.net ([174.0.238.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2016 08:28:08 +0200 Received: from Brian.Inglis by S010690fba62c4bda.cg.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Apr 2016 08:28:08 +0200 To: cygwin@cygwin.com From: Brian Inglis Subject: Re: can't open cygwin from shortcut Date: Sun, 24 Apr 2016 08:30:00 -0000 Message-ID: References: <201604231526.u3NFQkLB011430@coolidge.cs.Dartmouth.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00582.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. > > 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? Not familiar with the Win 10 tablet interface, but if you select the icon on the desktop or Start Menu, mouse right-click (or keyboard right hamburger key) and the context menu shows a Properties item at the bottom: select that to edit properties, (if necessary select Shortcut tab) and the Target textbox should show something like "C:\Cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -", where C:\Cygwin64\ should be wherever you told setup to make your Cygwin install root. Fix as appropriate. You can also Run that command directly. If that doesn't work, try a Search for "%APPDATA%\Microsoft\Internet Explorer\Quick Launch" and select Quick Launch when displayed; Run: explorer "%APPDATA%\Microsoft\Internet Explorer\Quick Launch"; or if you can open a Command Prompt (cmd.exe) window, type: start explorer "%APPDATA%\Microsoft\Internet Explorer\Quick Launch"; either of which should open a Windows Explorer window, and you can browse down for Cygwin mintty shortcut, and edit using the context menu Properties selection described above. You can also launch mintty directly by browsing to C:\Cygwin64\bin\mintty, or C:\Cygwin64\bin\bash, which will then appear in a Command Prompt console window. You can then type "cygstart mintty" to launch it properly. Sorry am unable to be more specific, but few of us shell aficionados are likely to have (or want!) access to a Windows tablet, and a lot about the environment comes under the heading "sh*t we shouldn't have to know!" ;^> N.B. Cygwin comes with a couple of utilities installed: readshortcut(1) and mkshortcut(1) which allow you to work with shortcuts from the command line, using either Cygwin or Windows paths. A useful Cygwin package to install is chere, which adds a mintty/bash context menu item to Windows explorer, allowing you to launch a mintty console bash shell with the selected folder as your current working directory. -- 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