On 23/02/2010 19:04, Joseph Ess wrote:
On 23/02/2010 18:29, Joseph Ess wrote:
Perhaps you should follow my suggestion and try it.
I double-clicked on c:\cygwin\bin\startx. It opens a
dialog titled "Open With" that instructs one to "Choose the program you
want to use to open this file".
Does http://x.cygwin.com/docs/ug/using.html#using-starting-startx say to run
startx by double clicking on it? Not it does not.
Hint: that will not work as startx is bash script, which Windows explorer has no
idea how to run.
I say that I'm trying to replace a .bat file, which one could presumable
run by double-clicking on it, and you propose using a bash script, which one
cannot double-click on and then berate me for trying it?
Your question was "How do I start XWindows in full screen mode with OpenBox
window manager?", not "How do I start XWindows in full screen mode with
OpenBox window manager by double-clicking on something?"
Copy the "XWin Server" link on the start menu, and change the target of the
copy from:
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startxwin.exe"
to:
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx"
You probably want to change the name of the shortcut to something like "XWin
server (windowed)" or whatever...
Customize ~/.xinitrc to launch openbox by having it end 'exec openbox' and
remove the line which starts twm.
Double-click away!
--
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/