Re: Using startx script without opening cygwin bash command window
Hi, I've been following this thread as a lurker and hopefully this message will be threaded with those already posted. I have tried several of the suggestions. They work mostly, but I can't seem to get wmaker going as does a 'startx' command. Using the shortcut with XWin just brings up an empty, unresponsive root. Tried mv'ing my .xserverrc with no success. .xinit -- exec wmaker .xsession exec wmaker properties of shortcut: C:\cygwin\bin\bash.exe -l -c XWin -fullscreen -clipboard -emulate3buttons 50 Suggestions are welcome.
Re: Using startx script without opening cygwin bash command window
Andrew Schulman schrieb: And this doesn't open a shell window? That's what the OP wanted to avoid. The shell window closes after starting Xwin. Holger Krull
Re: Using startx script without opening cygwin bash command window
My question is this... I currently open Cygwin's bash shell window and type startx to start up my X server. (I use the windowless option to avoid the ugly background.) But this leaves me with a bash shell that I don't use. I use my X shell windows. Is there a way to start the X server with all the options I am currently getting via my startx script without opening a bash shell window? Why not use already provided startxwin.bat in (/usr/X11R6/bin)? You get it by installing the XFree86-startup-scripts package. Just add -multiwindow -clipboard and comment out the xterm instance Regards, Milos
Re: Using startx script without opening cygwin bash command window
I don't know what options you have in your startx script, but I have a shortcut in my Windows startup folder with target C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -clipboard -dpi 100 But that only works if the cygwin dlls are in your PATH. I use D:\cygwin\bin\bash.exe -l -c xwin +kb -xkbmap de -query murpel -from 192.168.1.2 -dpi 100 -clipboard as a link to avoid the additional window. Without the query option this should work.
Re: Using startx script without opening cygwin bash command window
I don't know what options you have in your startx script, but I have a shortcut in my Windows startup folder with target C:\cygwin\usr\X11R6\bin\XWin.exe -multiwindow -clipboard -dpi 100 But that only works if the cygwin dlls are in your PATH. So, put them in. Then you can run other cygwin apps without needing a console window too. I use D:\cygwin\bin\bash.exe -l -c xwin +kb -xkbmap de -query murpel -from 192.168.1.2 -dpi 100 -clipboard as a link to avoid the additional window. Without the query option this should work. And this doesn't open a shell window? That's what the OP wanted to avoid.