This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: FW: How to create an icon to startx with no extra CMD.EXE window
On Tue, 8 Apr 2008, Siegfried Heintze (Aditi) wrote:
Thank you for the responses regarding "-sb -sl 6000".
I had a quick launch icon that would execute "startx" in bash but that does not seem to use the startxwin.sh or startxwin.bat files. So I change my icon in my quick launch bar to this:
C:\cygwin\bin\bash.exe /usr/bin/X11/startxwin.sh
So this starts the xterm with scroll bars and (I assume) 6000 lines of history. Hurray! Thanks!
But I have this ugly console hanging around. When I kill it, it kills X as well. Is there a way to have an icon that does not create a superfluous console window?
You could start an application (including xterm) which is initially
iconified. That would move it out of sight. This should work:
xterm -iconic
The startxwin.sh script needs _something_ that is holding onto the shell
script, to prevent it from exiting.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
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/