This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: [ANNOUNCEMENT] Updated: xinit-1.3.4-1 (Major overhaul of X session handling)
- From: Angelo Graziosi <angelo dot graziosi at alice dot it>
- To: cygwin-xfree at cygwin dot com, nem at emptec dot com
- Date: Sun, 30 Nov 2014 01:17:53 +0100
- Subject: Re: [ANNOUNCEMENT] Updated: xinit-1.3.4-1 (Major overhaul of X session handling)
- Authentication-results: sourceware.org; auth=none
- Reply-to: cygwin-xfree at cygwin dot com
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/