From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67395 invoked by alias); 1 Mar 2015 14:06:22 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 67387 invoked by uid 89); 1 Mar 2015 14:06:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-la0-f47.google.com Received: from mail-la0-f47.google.com (HELO mail-la0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 01 Mar 2015 14:06:19 +0000 Received: by labgf13 with SMTP id gf13so1011442lab.10 for ; Sun, 01 Mar 2015 06:06:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=h5le1evoqmZCc+BCq7qXEW755KrZ205G1lmZu0PUx1w=; b=gZjNcWR0o9ZfH7t0LkgBcEs9SgO3gb2182O/qkJASmfKjEBc3WYm7XD/67g/ufu5rJ EslG3EFrtpqoOa4c94vy/6WKEkNDIvtOMCdirPQC/pOTBEeDSNVoDJrR0yhnLJX4TM70 8eJBAk7r/GOEdBfvHCkcUcDFfr7xMVUQir3KGTzHb8dBDhiRNGbiGKzCxggOriZCpKuS RvhnSvJEd6oWFaovp8GUy4d/kMRtjW0OL97KsdsVO9iUJYqmi2XCnNsjQbjGRO9acuEn 7vOhkHMqcQCpgoeDawB2IAUiUJpU8RtGAQd/D+4cXm7dkF6vQZ0ihPpyr5hn83Fk4NMd YLRQ== X-Gm-Message-State: ALoCoQl100D5EGhqsUvhzIDh7Hb4FFd1NlBI6XM0e7365GX2OJnNUKWM38RDGzJzaZ4q4GF6aIn9 MIME-Version: 1.0 X-Received: by 10.152.45.37 with SMTP id j5mr20706689lam.31.1425218775577; Sun, 01 Mar 2015 06:06:15 -0800 (PST) Received: by 10.112.242.1 with HTTP; Sun, 1 Mar 2015 06:06:15 -0800 (PST) In-Reply-To: <54F2077C.9080802@dronecode.org.uk> References: <54ECD29B.7050001@dronecode.org.uk> <54ECEFDC.5080107@dronecode.org.uk> <54F2077C.9080802@dronecode.org.uk> Date: Sun, 01 Mar 2015 14:06:00 -0000 Message-ID: Subject: Re: Dfficulty with xorg-server-1.17.1-2. From: GEORGE BARRICK To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-03/txt/msg00000.txt.bz2 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 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/