From: Eliot Moss <moss@cs.umass.edu>
To: Cygwin <cygwin@cygwin.com>
Subject: Re: Cygwin/X11 on Windows 10
Date: Tue, 29 Sep 2020 08:27:00 -0400 [thread overview]
Message-ID: <2c7d0361-b78c-f2e9-01d6-17fc879c5c91@cs.umass.edu> (raw)
In-Reply-To: <CA+rGx5c=0nuzfvYaZDzLqFm2ethjqr8ODqRr4U5N1eo0KJg0kQ@mail.gmail.com>
On 9/29/2020 6:26 AM, Thomas Schweikle via Cygwin wrote:
> Hi!
>
> I've managed to install cygwin/X on Windows 10. Now I'm looking for command
> "startxwin" -- does not seen to exist. If following instructions from
> https://x.cygwin.com/docs/ug/setup.html it should be installed? Or is an
> extra package selected needed beyond what is given in upper mentioned
> handbook online?
>
> If I start "XWin.exe -multiwindow" directly it starts and finishes
> immediately. The recommended idea of creating an
> executable "~/.startxwinrc" holding only "exec sleep infinity" does not
> help. Same behaviour as before. Any other suggestions?
startxwin is in the xinit package. Personally I use xlaunch, in the
xlaunch package. xlaunch with no arguments fires up a GUI where you
can configure it and save an xlaunch file, e.g., ~/config.xlaunch.
I put a link to xlaunch in my Windows task bar, with the follow
command line it:
C:\cygwin64\bin\run.exe /bin/xlaunch -p /usr/bin -run /home/moss/config.xlaunch
You'll need to change paths for your file locations, of course.
It uses startxwin. Below is my personal .startxwinrc file for a sample. It
starts a couple of xterm windows and an emacs, all iconized. The emacs
geometry suits my high resolution screen. The "wait" is important - otherwise
things exit immediately and the X server terminates.
#!/bin/bash
xrdb -merge ${HOME}/.Xdefaults
xmodmap ${HOME}/.Xmodmap
UC="${USER} console"
xterm +tb -geometry 110x62+4+0 -T "${USER}" -n "${USER}" -name "${USER}" -bg rgbi:.0/.2/.2 -ls
-iconic &
xterm +tb -geometry 110x62-10+0 -T "${UC}" -n "${UC}" -name "${UC}" -bg rgbi:.5/.0/.1 -ls
-iconic &
emacs --chdir=${HOME} --no-splash --iconic --geometry=130x60+100+100 -T emacs &
wait
next prev parent reply other threads:[~2020-09-29 12:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 10:26 Thomas Schweikle
2020-09-29 12:05 ` Thomas Schweikle
2020-09-29 12:27 ` Eliot Moss [this message]
2020-09-30 7:23 ` Thomas Schweikle
2020-09-30 13:41 ` Eliot Moss
2020-09-30 17:20 ` Marco Atzeri
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=2c7d0361-b78c-f2e9-01d6-17fc879c5c91@cs.umass.edu \
--to=moss@cs.umass.edu \
--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).