X-Recipient: archive-cygwin@delorie.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
	:in-reply-to; q=dns; s=default; b=grXbpOGClp5nM0zqdXYCWcjsG7vGId
	d4xNxw/o+kKYEwg94MSygE2HjjZdjDRrwOh616oR7WhPhCTjWkQTKfHCBqweR5Bh
	giIE97uHkq+Ca2yqki/AvK5cEqRRrJ9TpTccT0j/UCemf1nPBAl54rDkcZDiRSCC
	kxfDRoHllyI5w=
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
	:in-reply-to; s=default; bh=xeFUi6xLurpJMM0N0Zvhz+a0Bu8=; b=BY/G
	8GFSC9DeDbizFEoxa19zNT0apK/sQATxrJzMtRvza2sL1WgDVFg0r1mrS1rNYEXv
	K9C1cpaJ8rIPaT2ElcAv8baCtf5nWqCHAGZXIfAY5CHbsthsrJNOK722We49eMuX
	TCZyanHfCors9egcwtJPnMbbdxgi6InnlKK65XA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=AWL,BAYES_00,FORGED_MUA_MOZILLA,FREEMAIL_FROM,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 spammy=dos, H*r:4.89, 02092019, H*UA:x64
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Franz Fehringer <fehrin2@gmail.com>
Subject: Re: gnome-terminal desktop shortcut
Date: Mon, 2 Sep 2019 16:52:49 +0200
Message-ID: <qkjac2$7a1i$1@blaine.gmane.org>
References: <qki8f7$4idd$1@blaine.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
Openpgp: preference=signencrypt
In-Reply-To: <qki8f7$4idd$1@blaine.gmane.org>
X-IsSubscribed: yes

This works for me with
- DISPLAY=:0 at toplevel Windows (DOS) level
- Cygwin bin (last) in the Windows (DOS) path
The desktop link is
C:\Tools\Cygwin\bin\run.exe C:\Tools\Cygwin\bin\gnome-terminal.exe
One essential point is to use UTF-8
I have LC_ALL=de_DE.utf8 both at Windows (DOS) and Cygwin level (though
Windows level is not optimal if you use mingw64 GUI applications).
If things do not work you can execute from Windows (DOS) cmd and check
the exit code. There is an internet page for explaining them.

Am 02.09.2019 um 07:14 schrieb Amadeus WM via cygwin:
> I installed cygwin 3.0.7 about 2 weeks ago and everything seems fine. 
> I start the X server from the command line with startxwin. 
> 
> What I'd like to do is to set up a desktop shortcut for gnome-terminal. 
> I have defined the DISPLAY=":0.0" option in windows, and from mintty I can start gnome-terminal 
> with no problems. I tried to set up a windows shortcut with this command:
> 
> C:\cygwin64\bin\gnome-terminal.exe --display=":0.0" --  C:\cygwin64\bin\bash --login -i
> 
> I also tried different variations on this, e.g. do not tell it to run bash at all,
> run bash, but specify the POSIX path, etc. 
> 
> The result is always the same: a window pops up for a fraction of a second and disappears.
> 
> What do I need to do to get the gnome-terminal shortcut working? Like the mintty
> (cygwin-terminal) is working.
> 
> Thanks!
> 
> 



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

