This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Dfficulty with xorg-server-1.17.1-2.
- From: GEORGE BARRICK <gbarrick at kent dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 1 Mar 2015 09:06:15 -0500
- Subject: Re: Dfficulty with xorg-server-1.17.1-2.
- Authentication-results: sourceware.org; auth=none
- References: <CAKST5xOu6paHhw=upDLk26Xe7_8xKiLM=M5V1LSJ8SKix8WCUw at mail dot gmail dot com> <CAK-n8j44ZiHEm6ExLOy=mqpoUQExpLFrXgLb1QULJSh5c8jxrg at mail dot gmail dot com> <54ECD29B dot 7050001 at dronecode dot org dot uk> <54ECEFDC dot 5080107 at dronecode dot org dot uk> <CAKST5xP7g_pDJGSqdZihzR9Q2XUCZnz9m4fpzcBZvYx-rtLERA at mail dot gmail dot com> <CAKST5xPDxL2rNEx5jzVqUDLd+LO1XTsxnYON7nakAgEbPdw+qA at mail dot gmail dot com> <54F2077C dot 9080802 at dronecode dot org dot uk>
- Reply-to: cygwin-xfree at cygwin dot com
2015.03.01.09:06:13 EST
Hi Jon,
Thanks for the tips.
George gee_barrick_at_kent_dot_edu
On 2/28/15, Jon TURNEY <jon.turney@dronecode.org.uk> wrote:
> On 25/02/2015 14:30, GEORGE BARRICK wrote:
>> I have one small note for other folks who might like to run their
>> system in a way similar to mine. I like to have xlaunch automatically
>> start a single colored xterm for me (in multi-window mode). After
>> that I just open more from the command line as it suits me. If I use
>> the command line embedded in the installed xlaunch.lnk file:
>>
>> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe
>>
>> it always prompts me through the tiresome "configure & start" GUI at
>> the beginning. Adding the phrase
>>
>> -run ~/config/config.xlaunch
>>
>> at the end of that command line always gets ignored in favor of the
>> "configure & start" GUI.
>
> You need to quote the whole command line for bash after the -c,
> otherwise bash treats words after the first one as positional parameters.
>
> However, getting this quotation passed correctly through run requires a
> little bit of gymnastics, but this should work:
>
> C:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c "xlaunch -run
> ~/config/config.xlaunch"
>
>> However, when I strip the invocation of the
>> bash from that command:
>>
>> C:\cygwin\bin\run.exe /usr/bin/xlaunch.exe -run ~/config/config.xlaunch
>>
>> the xlaunch goes right ahead to run the single xterm that's described
>> in my ~/config/config.xlaunch file.
>
> This is not quite equivalent as there is no login shell in the ancestry
> of whatever your config.xlaunch starts, so your ~/.profile may not have
> been read.
>
> For that reason, using 'bash -l -c ""' is preferred and that's what
> start menu links that cygwin installs generally use.
>
> --
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/