delorie.com/archives/browse.cgi | search |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; q=dns; s= | |
default; b=hYxOxRwOH6EaRXDD9TwHrQR4snQaf0L8xc00niqOSPI8DCF2Moeps | |
28sq8oVjn1uH8D8eGmfdB7GRhdelOnbwrD6xgedXrWSQu9xvxeZeiJGgHCP/h67q | |
iqZ4YIt36ynN4w5XRBFDoC+Trp0Ka0phNaaqEhgykXVzZeRBoIhLYk= | |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding; s=default; | |
bh=eImmUjQkj6zKV1Xl3/V4tNwZ1cw=; b=wSa0SuTBv4sinSy54kv2XWuBTr+A | |
qskP8C+D7PcL4rFpV7SJhtXqBHjnXWgZ1yPRytHhkCesqFeQFjwQRiDtfkqPIZnf | |
Y2LJ4lHZnlZYx24DPKOWHrWVtJW1G4IXRXFOg+UhFC5P0Hr/oBBw87ve+FBEc5lL | |
sluV2dvJ6BKb0OQ= | |
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.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 |
To: | cygwin AT cygwin DOT com |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Subject: | Re: can't open cygwin from shortcut |
Date: | Sun, 24 Apr 2016 06:27:57 +0000 (UTC) |
Lines: | 46 |
Message-ID: | <loom.20160424T073320-782@post.gmane.org> |
References: | <201604231526 DOT u3NFQkLB011430 AT coolidge DOT cs DOT Dartmouth DOT EDU> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |