public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Franz Fehringer <fehrin2@googlemail.com>
To: cygwin@cygwin.com
Subject: Fwd: gnome-terminal desktop shortcut
Date: Sun, 17 May 2020 12:18:05 +0200	[thread overview]
Message-ID: <93431678-24ae-6660-826d-45745b649baa@gmail.com> (raw)
In-Reply-To: <md5:9GMw4PSYfaQGDVFCVXc6eA==>

repost, first attempt to wrong recipient


-------- Weitergeleitete Nachricht --------
Betreff: 	Re: gnome-terminal desktop shortcut
Datum: 	Mon, 2 Sep 2019 16:52:49 +0200
Von: 	Franz Fehringer <fehrin2@gmail.com>
Newsgruppen: 	gmane.os.cygwin
Referenzen: 	<qki8f7$4idd$1@blaine.gmane.org>



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


           reply	other threads:[~2020-05-17 10:18 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <md5:9GMw4PSYfaQGDVFCVXc6eA==>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93431678-24ae-6660-826d-45745b649baa@gmail.com \
    --to=fehrin2@googlemail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).