public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: cygwin-xfree@cygwin.com, nem@emptec.com
Subject: Re: [ANNOUNCEMENT] Updated: xinit-1.3.4-1 (Major overhaul of X session handling)
Date: Sun, 30 Nov 2014 00:18:00 -0000	[thread overview]
Message-ID: <547A6231.9000001@alice.it> (raw)

Nem W Schlecht wrote:
> Yes, but both of those are applications that have an icon, display a
> window, etc.  I don't want any of that.  I just want X11 to *not*
> launch fbpanel and to *not* quit.

I don't know if the following can help..

For years I start the X server with a link whose target is:

C:\cygwin64\bin\run.exe --quote bash -l -c "rm -rf /tmp/.X*; XWin 
-multiwindow -clipboard -silent-dup-error 2>/dev/null &"

and the "From" field:  C:\cygwin64\home\$USER

I created it with a script like this



MKSHORTCUT=`which mkshortcut 2> /dev/null`
RUN=`which run 2> /dev/null`
XWINEXE=`which XWin 2> /dev/null`
XWINEXE="${XWINEXE}.exe"

xwin_link()
{
     echo
     echo -n "Creating XWin desktop link..."

     local xwin_exe_ico="${XWINEXE}"
     local xwin="XWin Server"
     local xwin_cmd="rm -rf /tmp/.X*;"
     xwin_cmd+=" XWin -multiwindow -clipboard"
     xwin_cmd+=" -silent-dup-error 2>/dev/null &"

     ${MKSHORTCUT} \
         -a "--quote bash -l -c \"${xwin_cmd}\"" \
         -d "XWin Server" \
         -i "${xwin_exe_ico}" \
         -n "${xwin}" \
         -w "${HOME}" \
         ${RUN}
     echo "done."
}

xwin_link

Now, on W7, I have it on the Applications Bar, and start the x server 
manually. On XP, I had it in Start - Automatic Run, and the X server 
started with Windows..


Ciao,
  Angelo.

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


             reply	other threads:[~2014-11-30  0:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-30  0:18 Angelo Graziosi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-28  3:04 Yaakov Selkowitz
2014-11-28  8:45 ` Marco Atzeri
2014-11-28 11:54   ` Jon TURNEY
2014-11-28 22:53 ` Ken Brown
2014-11-30  4:02   ` Yaakov Selkowitz
2014-11-30  6:36     ` Nem W Schlecht
2014-11-30  7:45       ` Yaakov Selkowitz
2014-11-30 13:57         ` Ken Brown
2014-12-01 18:15           ` Jim Reisert AD1C
2014-12-01 18:16             ` Jim Reisert AD1C
2014-11-29  2:05 ` Nem W Schlecht
2014-11-29  2:46   ` Marco Atzeri
2014-11-29 20:19     ` Nem W Schlecht
2014-12-05 13:35       ` Jon TURNEY
2014-12-05 14:51         ` Nem W Schlecht

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=547A6231.9000001@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=cygwin-xfree@cygwin.com \
    --cc=nem@emptec.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).