public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: How do I start WM?
@ 2010-02-25 19:53 Joseph Ess
  0 siblings, 0 replies; 37+ messages in thread
From: Joseph Ess @ 2010-02-25 19:53 UTC (permalink / raw)
  To: cygwin-xfree

>From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
>
> Note that the last line does NOT have a '&'.  Quoting from xinit(1):

_Now_ it's clear.
Thanks. 
Joe



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-03-01 10:17                 ` Anonymous bin ich
@ 2010-03-01 21:54                   ` Kenneth Wolcott
  0 siblings, 0 replies; 37+ messages in thread
From: Kenneth Wolcott @ 2010-03-01 21:54 UTC (permalink / raw)
  To: cygwin-xfree

I'm aware of this, but thank you.  They are not able to port konsole :-(

On Mon, Mar 1, 2010 at 02:17, Anonymous bin ich <ichbinanon@gmail.com> wrote:
> KDE, since version 4, is being developed for windows independently of
> cygwin. Look here: http://windows.kde.org/
>
> On Sat, Feb 27, 2010 at 6:47 AM, Reid Thompson <reid.thompson@ateb.com> wrote:
>> On 2/26/2010 6:40 PM, Kenneth Wolcott wrote:
>>>
>>> Hi;
>>>
>>>   Now, if it isn't asking too much, I'd like to use KDE as my Window
>>> Manager and I'd like some KDE-based utilities, like konsole and karm
>>> (? the task/time manager).
>>>
>>>   I don't see a great deal of visible difference between twm and
>>> openbox, but I'll look on openbox.org and find more details.
>>>
>>>   The Windoze start shortcut did help, and the ~/.xinitrc did help --
>>> thank you.
>>>
>>> Thanks,
>>> Ken Wolcott
>>>
>> i've not checked to see if KDE or any of it's components is/are available as
>> part of the cygwin X stuff (when I use a heavyweight desktop environment i
>> use gnome).  a quick search on KDE at the package search page of cygwin
>> lists nothing, while a search on gnome lists quite a few.  someone with more
>> knowledge will have to advise you
>>
>> --
>> 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/
>>
>>
>
>
>
> --
> Regards,
>
> --
> 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/
>
>

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-27  5:46               ` Reid Thompson
@ 2010-03-01 10:17                 ` Anonymous bin ich
  2010-03-01 21:54                   ` Kenneth Wolcott
  0 siblings, 1 reply; 37+ messages in thread
From: Anonymous bin ich @ 2010-03-01 10:17 UTC (permalink / raw)
  To: cygwin-xfree

KDE, since version 4, is being developed for windows independently of
cygwin. Look here: http://windows.kde.org/

On Sat, Feb 27, 2010 at 6:47 AM, Reid Thompson <reid.thompson@ateb.com> wrote:
> On 2/26/2010 6:40 PM, Kenneth Wolcott wrote:
>>
>> Hi;
>>
>>   Now, if it isn't asking too much, I'd like to use KDE as my Window
>> Manager and I'd like some KDE-based utilities, like konsole and karm
>> (? the task/time manager).
>>
>>   I don't see a great deal of visible difference between twm and
>> openbox, but I'll look on openbox.org and find more details.
>>
>>   The Windoze start shortcut did help, and the ~/.xinitrc did help --
>> thank you.
>>
>> Thanks,
>> Ken Wolcott
>>
> i've not checked to see if KDE or any of it's components is/are available as
> part of the cygwin X stuff (when I use a heavyweight desktop environment i
> use gnome).  a quick search on KDE at the package search page of cygwin
> lists nothing, while a search on gnome lists quite a few.  someone with more
> knowledge will have to advise you
>
> --
> 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/
>
>



-- 
Regards,

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-26 23:41             ` Kenneth Wolcott
@ 2010-02-27  5:46               ` Reid Thompson
  2010-03-01 10:17                 ` Anonymous bin ich
  0 siblings, 1 reply; 37+ messages in thread
From: Reid Thompson @ 2010-02-27  5:46 UTC (permalink / raw)
  To: Kenneth Wolcott; +Cc: cygwin-xfree

On 2/26/2010 6:40 PM, Kenneth Wolcott wrote:
> Hi;
>
>    Now, if it isn't asking too much, I'd like to use KDE as my Window
> Manager and I'd like some KDE-based utilities, like konsole and karm
> (? the task/time manager).
>
>    I don't see a great deal of visible difference between twm and
> openbox, but I'll look on openbox.org and find more details.
>
>    The Windoze start shortcut did help, and the ~/.xinitrc did help -- thank you.
>
> Thanks,
> Ken Wolcott
>
i've not checked to see if KDE or any of it's components is/are available as part of the cygwin X stuff (when 
I use a heavyweight desktop environment i use gnome).  a quick search on KDE at the package search page of 
cygwin lists nothing, while a search on gnome lists quite a few.  someone with more knowledge will have to 
advise you

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-26 23:35           ` Kenneth Wolcott
@ 2010-02-26 23:41             ` Kenneth Wolcott
  2010-02-27  5:46               ` Reid Thompson
  0 siblings, 1 reply; 37+ messages in thread
From: Kenneth Wolcott @ 2010-02-26 23:41 UTC (permalink / raw)
  To: reid.thompson, cygwin-xfree

Hi;

  Now, if it isn't asking too much, I'd like to use KDE as my Window
Manager and I'd like some KDE-based utilities, like konsole and karm
(? the task/time manager).

  I don't see a great deal of visible difference between twm and
openbox, but I'll look on openbox.org and find more details.

  The Windoze start shortcut did help, and the ~/.xinitrc did help -- thank you.

Thanks,
Ken Wolcott

On Fri, Feb 26, 2010 at 15:35, Kenneth Wolcott <kennethwolcott@gmail.com> wrote:
> Hi;
>
> On Wed, Feb 24, 2010 at 16:44, Reid Thompson <reid.thompson@ateb.com> wrote:
>> Try this:
>> Copy the shortcut as mentioned earlier in the email trail.
>> set the Target to be:
>>  C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx --
>> /usr/bin/Xwin.exe"
>> Note the double quotes around the last argument.  Without them, Xwin.exe
>> doesn't start on my box.  startx also would not invoke Xwin.exe on my box
>> unless I explicitly called it ala above
>> Commmand line invocation-> $ startx -- /usr/bin/Xwin.exe
>> perhaps it's not reading the symlink properly (the default server is set as
>> /usr/bin/X, which is symlinked to /usr/bin/Xwin.exe) -- nope, explicitly
>> setting default server to /usr/bin/Xwin.exe doesn't start it either via a
>> plain startx on the command line.  setting startx to echo the eval of the
>> invocation yields
>>
>>   xinit "/home/rthompso/.xinitrc"  -- "/home/rthompso/.xserverrc" :0  -auth
>> '/home/rthompso/.serverauth.5912'
>> aha -- my .xserverrc has:
>>  #exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset
>> -emulate3buttons 100
>> uncomment it and try again from command line a plain startx... xserver
>> starts up in it's own window with my .xinitrc programs running.
>> shut it down, and try my copy of the shortcut again, starts again.
>>
>> Now that we've established that mine wasn't starting due to the invalid
>> .xserverrc, reset the shortcut target to
>> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx
>> and try it -> starts again
>
>  I changed my shortcut to what you have here (except I have
> c:\cygwin_1.7) and I copied and pasted what you have below into my new
> ~/.xinitrc and it works **GREAT** :-)  Thanks!
>
>> Pasted below is my .xinitrc (you said you don't have one in $HOME), you can
>> try this one in your $HOME if you want.  It will open a couple of rxvt terms
>> and and xterm.  It is configured to startup the openbox window manager.  You
>> MAY prefer to copy the /etc/X11/xinit/xinitrc to your $HOME/.xinitrc to use
>> as your base.
>>
>> cat .xinitrc
>> #!/bin/sh
>> # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
>>
>> userresources=$HOME/.Xresources
>> usermodmap=$HOME/.Xmodmap
>> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
>> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
>>
>> # merge in defaults and keymaps
>>
>> if [ -f $sysresources ]; then
>>    xrdb -merge $sysresources
>> fi
>>
>> if [ -f $sysmodmap ]; then
>>    xmodmap $sysmodmap
>> fi
>>
>> if [ -f $userresources ]; then
>>    xrdb -merge $userresources
>> fi
>>
>> if [ -f $usermodmap ]; then
>>    xmodmap $usermodmap
>> fi
>>
>>
>> /usr/bin/openbox  &
>> #twm &
>> #wmaker &
>> #/opt/gnome2/bin/gnome-session &
>>
>> # start some nice programs
>> rxvt -d :0.0 -geometry 80x35+494+51 -sl 1500 -sr -fg lightblue -bg
>> darkolivegreen &
>> rxvt -d :0.0 -geometry 80x20+294-0 -sl 1500 -sr -fg lightblue -bg
>> darkolivegreen &
>> exec xterm -geometry 80x6+0+0 -name login
>>
>>
>> --
>> 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/
>>
>>
>

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25  0:44         ` Reid Thompson
@ 2010-02-26 23:35           ` Kenneth Wolcott
  2010-02-26 23:41             ` Kenneth Wolcott
  0 siblings, 1 reply; 37+ messages in thread
From: Kenneth Wolcott @ 2010-02-26 23:35 UTC (permalink / raw)
  To: reid.thompson, cygwin-xfree

Hi;

On Wed, Feb 24, 2010 at 16:44, Reid Thompson <reid.thompson@ateb.com> wrote:
> Try this:
> Copy the shortcut as mentioned earlier in the email trail.
> set the Target to be:
>  C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx --
> /usr/bin/Xwin.exe"
> Note the double quotes around the last argument.  Without them, Xwin.exe
> doesn't start on my box.  startx also would not invoke Xwin.exe on my box
> unless I explicitly called it ala above
> Commmand line invocation-> $ startx -- /usr/bin/Xwin.exe
> perhaps it's not reading the symlink properly (the default server is set as
> /usr/bin/X, which is symlinked to /usr/bin/Xwin.exe) -- nope, explicitly
> setting default server to /usr/bin/Xwin.exe doesn't start it either via a
> plain startx on the command line.  setting startx to echo the eval of the
> invocation yields
>
>   xinit "/home/rthompso/.xinitrc"  -- "/home/rthompso/.xserverrc" :0  -auth
> '/home/rthompso/.serverauth.5912'
> aha -- my .xserverrc has:
>  #exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset
> -emulate3buttons 100
> uncomment it and try again from command line a plain startx... xserver
> starts up in it's own window with my .xinitrc programs running.
> shut it down, and try my copy of the shortcut again, starts again.
>
> Now that we've established that mine wasn't starting due to the invalid
> .xserverrc, reset the shortcut target to
> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx
> and try it -> starts again

  I changed my shortcut to what you have here (except I have
c:\cygwin_1.7) and I copied and pasted what you have below into my new
~/.xinitrc and it works **GREAT** :-)  Thanks!

> Pasted below is my .xinitrc (you said you don't have one in $HOME), you can
> try this one in your $HOME if you want.  It will open a couple of rxvt terms
> and and xterm.  It is configured to startup the openbox window manager.  You
> MAY prefer to copy the /etc/X11/xinit/xinitrc to your $HOME/.xinitrc to use
> as your base.
>
> cat .xinitrc
> #!/bin/sh
> # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
>
> userresources=$HOME/.Xresources
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
>
> # merge in defaults and keymaps
>
> if [ -f $sysresources ]; then
>    xrdb -merge $sysresources
> fi
>
> if [ -f $sysmodmap ]; then
>    xmodmap $sysmodmap
> fi
>
> if [ -f $userresources ]; then
>    xrdb -merge $userresources
> fi
>
> if [ -f $usermodmap ]; then
>    xmodmap $usermodmap
> fi
>
>
> /usr/bin/openbox  &
> #twm &
> #wmaker &
> #/opt/gnome2/bin/gnome-session &
>
> # start some nice programs
> rxvt -d :0.0 -geometry 80x35+494+51 -sl 1500 -sr -fg lightblue -bg
> darkolivegreen &
> rxvt -d :0.0 -geometry 80x20+294-0 -sl 1500 -sr -fg lightblue -bg
> darkolivegreen &
> exec xterm -geometry 80x6+0+0 -name login
>
>
> --
> 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/
>
>

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25 20:33 Joseph Ess
@ 2010-02-25 21:32 ` Reid Thompson
  0 siblings, 0 replies; 37+ messages in thread
From: Reid Thompson @ 2010-02-25 21:32 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: reid.thompson

On Thu, 2010-02-25 at 12:32 -0800, Joseph Ess wrote:
> From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
> > Openbox is just a WM.  It does not provide a panel, pager, or other 
> desktop components.
> 
> Maybe I'm thinking of BlackBox, since it has a "toolbar".
> Thanks,
> Joe

these types of components can be used with openbox, if you want.
obconf allows you to set N number of desktops, dock location etc.
the openbox website has a lot of information regarding usage and
configuration ( i.e. i have openbox run 3 desktops and I mapped the
<windows-meta-key>-F1-3 to switch between them -- i also run a taskbar
(tint2) that allows me to do the same as well as have systray)

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
@ 2010-02-25 20:33 Joseph Ess
  2010-02-25 21:32 ` Reid Thompson
  0 siblings, 1 reply; 37+ messages in thread
From: Joseph Ess @ 2010-02-25 20:33 UTC (permalink / raw)
  To: cygwin-xfree

From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
> Openbox is just a WM.  It does not provide a panel, pager, or other 
desktop components.

Maybe I'm thinking of BlackBox, since it has a "toolbar".
Thanks,
Joe



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
       [not found] <966033.40264.qm@web39608.mail.mud.yahoo.com>
  2010-02-25 19:33 ` Yaakov (Cygwin/X)
@ 2010-02-25 20:17 ` Reid Thompson
  1 sibling, 0 replies; 37+ messages in thread
From: Reid Thompson @ 2010-02-25 20:17 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: reid.thompson

On Thu, 2010-02-25 at 10:56 -0800, Joseph Ess wrote:
> From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
> >On 2010-02-25 10:16, Joseph Ess wrote:
> > >I can reproduce your finding.  Putting just "openbox&" in my ~/xinitrc does not work. 
> > Of course not; the xinit(1) man page explains that clearly.
> 
> Really? I looked. Your definition of "clear" and mine must be different.  
> The xinit(1) man page suggests an ~/xinitrc like so:
> 
> xrdb -load $HOME/.Xresources
> xsetroot -solid gray &
> xclock -g 50x50-0+0 -bw 0 &
> xload -g 50x50-50+0 -bw 0 &
> xterm -g 80x24+0+0 &
> xterm -g 80x24+0-0 &
> twm
> I would assume (yea, I'm sticking my neck out) I could comment out twm and substitute another WM. Doing so works with WindowMaker.  It doesn't with OpenBox.
> Reid Thompson suggested doing something similar here: http://cygwin.com/ml/cygwin-xfree/2010-02/msg00149.html 
> What am I doing wrong and how can i fix it?
> Thanks,
> Joe

yep -- mine is probably not the best/a little off.

Note my last line, i'm not at my cygwin box right now, but I'll bet that
if you exit the xterm that is opened on startup, that everything goes
away (i.e. xinit exits after that xterm exits )

exec xterm -geometry 80x6+0+0 -name login


I generally start my xserver & apps with my own script.  Which is why i
had the short debugging session to get startx/.xinitrc/.xserverrc
working on my box that i posted in my email.  At some point in the way
back, I left things in a bad state.

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25 19:47 Joseph Ess
@ 2010-02-25 19:51 ` Yaakov (Cygwin/X)
  0 siblings, 0 replies; 37+ messages in thread
From: Yaakov (Cygwin/X) @ 2010-02-25 19:51 UTC (permalink / raw)
  To: cygwin-xfree

On 2010-02-25 13:47, Joseph Ess wrote:
> I got it.  Thank you. I can start up Xwindows with OpenBox from a Windows shortcut now.
> I still don't have a workspace pager.  Is the problem me or is it OpenBox?

Openbox is just a WM.  It does not provide a panel, pager, or other 
desktop components.


Yaakov
Cygwin/X

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* RE: How do I start WM?
@ 2010-02-25 19:47 Joseph Ess
  2010-02-25 19:51 ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 37+ messages in thread
From: Joseph Ess @ 2010-02-25 19:47 UTC (permalink / raw)
  To: cygwin-xfree

From: "Mike Ayers" <mike_ayers at tvworks dot com>
> Notice the first line.  This is a script.  When it ends, startx ends, as does your X 
> session.  Notice the last line.  The X session now lasts as long as the window manager.  
> Note the lack of redirects on the window manager, and the use of a console window.  I 
> haven't tested this extensively with 1.7, but it's worked like a rock in the past.

I got it.  Thank you. I can start up Xwindows with OpenBox from a Windows shortcut now.  
I still don't have a workspace pager.  Is the problem me or is it OpenBox? 
Joe



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
       [not found] <966033.40264.qm@web39608.mail.mud.yahoo.com>
@ 2010-02-25 19:33 ` Yaakov (Cygwin/X)
  2010-02-25 20:17 ` Reid Thompson
  1 sibling, 0 replies; 37+ messages in thread
From: Yaakov (Cygwin/X) @ 2010-02-25 19:33 UTC (permalink / raw)
  To: cygwin-xfree

On 2010-02-25 12:56, Joseph Ess wrote:
> Really? I looked. Your definition of "clear" and mine must be different.
> The xinit(1) man page suggests an ~/xinitrc like so:
>
> xrdb -load $HOME/.Xresources
> xsetroot -solid gray&
> xclock -g 50x50-0+0 -bw 0&
> xload -g 50x50-50+0 -bw 0&
> xterm -g 80x24+0+0&
> xterm -g 80x24+0-0&
> twm

Note that the last line does NOT have a '&'.  Quoting from xinit(1):

>  An important point is that programs which are run by .xinitrc should be
>  run in the background if they do not exit  right  away,  so  that  they
>  donÂ’t prevent other programs from starting up.  However, the last long-
>  lived program started (usually a window manager or  terminal  emulator)
>  should  be  left in the foreground so that the script wonÂ’t exit (which
>  indicates that the user is done and that xinit should exit).


Yaakov
Cygwin/X

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25 16:16 Joseph Ess
@ 2010-02-25 18:21 ` Yaakov (Cygwin/X)
  0 siblings, 0 replies; 37+ messages in thread
From: Yaakov (Cygwin/X) @ 2010-02-25 18:21 UTC (permalink / raw)
  To: cygwin-xfree

On 2010-02-25 10:16, Joseph Ess wrote:
> I can reproduce your finding.  Putting just "openbox&" in my ~/xinitrc does not work.

Of course not; the xinit(1) man page explains that clearly.


Yaakov
Cygwin/X

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
@ 2010-02-25 16:16 Joseph Ess
  2010-02-25 18:21 ` Yaakov (Cygwin/X)
  0 siblings, 1 reply; 37+ messages in thread
From: Joseph Ess @ 2010-02-25 16:16 UTC (permalink / raw)
  To: cygwin-xfree

From: Holger Krull <holger dot krull at gmx dot de>
>I know that. Sorry for being to short with the description.
>The X-Server dies when openbox starts, and it shouldn't do that, even 
>without a window manager. But i see this only every tenth attempt to 
>start openbox, while the original poster seems to have this every time.
>
>And I changed /etc/X11/xinit/xinitrc, no ~/.xinitrc
>
>Interestingly, putting openbox at the end of the start script and doing
>
>exec openbox-session >/tmp/openbox.log 2>&1
>
>seems to stop that, but i haven't tried enough to be sure.

Ugh.  I keep setting off filters of one sort or another.  
I can reproduce your finding.  Putting just "openbox &" in my ~/xinitrc does not work.  
Putting the "exec openbox-session >/tmp/openbox.log 2>&1" line in works fine for the few minutes I tested.
twm and WindowMaker work fine from a Windows shortcut.
Thanks,
Joe



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25 11:18               ` Yaakov (Cygwin/X)
@ 2010-02-25 11:32                 ` Holger Krull
  0 siblings, 0 replies; 37+ messages in thread
From: Holger Krull @ 2010-02-25 11:32 UTC (permalink / raw)
  To: cygwin-xfree

Am 25.02.2010 12:18, schrieb Yaakov (Cygwin/X):
> On 2010-02-25 04:25, Holger Krull wrote:
>> I can confirm problems with openbox. It does not start everytime i try
>> on my computer and i get the same behavior that you described, a short
>> view of the black background.
>
> Openbox is just a window manager.  If that's all you have in ~/.xinitrc,
> you won't see anything because there are no windows for the WM to decorate.
>
>

I know that. Sorry for being to short with the description.
The X-Server dies when openbox starts, and it shouldn't do that, even 
without a window manager. But i see this only every tenth attempt to 
start openbox, while the original poster seems to have this every time.

And I changed /etc/X11/xinit/xinitrc, no ~/.xinitrc

Interestingly, putting openbox at the end of the start script and doing

exec openbox-session >/tmp/openbox.log 2>&1

seems to stop that, but i haven't tried enough to be sure.


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25 10:25             ` Holger Krull
@ 2010-02-25 11:18               ` Yaakov (Cygwin/X)
  2010-02-25 11:32                 ` Holger Krull
  0 siblings, 1 reply; 37+ messages in thread
From: Yaakov (Cygwin/X) @ 2010-02-25 11:18 UTC (permalink / raw)
  To: cygwin-xfree

On 2010-02-25 04:25, Holger Krull wrote:
> I can confirm problems with openbox. It does not start everytime i try
> on my computer and i get the same behavior that you described, a short
> view of the black background.

Openbox is just a window manager.  If that's all you have in ~/.xinitrc, 
you won't see anything because there are no windows for the WM to decorate.


Yaakov
Cygwin/X

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25  2:54           ` Kenneth Wolcott
  2010-02-25  3:16             ` Reid Thompson
@ 2010-02-25 10:25             ` Holger Krull
  2010-02-25 11:18               ` Yaakov (Cygwin/X)
  1 sibling, 1 reply; 37+ messages in thread
From: Holger Krull @ 2010-02-25 10:25 UTC (permalink / raw)
  To: cygwin-xfree

Am 25.02.2010 03:54, schrieb Kenneth Wolcott:


> If I don't set the DISPLAY environment variable then it complains
> about it not being set.
>
> If I do set the DISPLAY environment variable then it complains about
> not being able to use it.
>
> $ openbox-session
> which: no hsetroot in [PATH content deleted]
> which: no esetroot in [PATH content deleted]
> xsetroot:  unable to open display 'KWOLCOTT-T61:0.0'
> which: no gnome-settings-daemon in [PATH content deleted]
> which: no xfce-mcs-manager in [PATH content deleted]
> which: no start_kdeinit in [PATH content deleted]
> Openbox-Message: Failed to open the display from the DISPLAY
> environment variable.
>

This is expected, i just wanted to see if it was complaining about 
anything else.

I can confirm problems with openbox. It does not start everytime i try 
on my computer and i get the same behavior that you described, a short 
view of the black background.

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25  2:54           ` Kenneth Wolcott
@ 2010-02-25  3:16             ` Reid Thompson
  2010-02-25 10:25             ` Holger Krull
  1 sibling, 0 replies; 37+ messages in thread
From: Reid Thompson @ 2010-02-25  3:16 UTC (permalink / raw)
  To: cygwin-xfree

On 2/24/2010 9:54 PM, Kenneth Wolcott wrote:

> Apparently I'm missing some components...
>
> $ openbox-session
> which: no hsetroot in [PATH content deleted]
> which: no esetroot in [PATH content deleted]
> xsetroot:  unable to open display 'KWOLCOTT-T61:0.0'
> which: no gnome-settings-daemon in [PATH content deleted]
> which: no xfce-mcs-manager in [PATH content deleted]
> which: no start_kdeinit in [PATH content deleted]
> Openbox-Message: Failed to open the display from the DISPLAY
> environment variable.
>
> Normally I use the Xming X Window manager if I'm not running the twm
> Window Manager executed from Cygwin.
>

Lets make sure we're on the same page.
Xming X Window manager -> from a quick glance, this is an X server, not a window manager.  It's corresponding 
executable in cygwin would be Xwin.exe, started via either startx or startxwin.exe.

twm and openbox (and openbox-session which adds some autostart and xdg interactions to an openbox manages 
session) are window managers.  window managers require an xserver to be started first, all the X applications 
'paint' themselves on the Xserver.  The window manager, allows you to 'manage' those applications (size, 
location, minimize,maximize etc ).

So running openbox or openbox-session w/o an X server already running will fail ala above.
Have you had a chance to read through my previous post?

reid


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-25  0:35         ` Holger Krull
@ 2010-02-25  2:54           ` Kenneth Wolcott
  2010-02-25  3:16             ` Reid Thompson
  2010-02-25 10:25             ` Holger Krull
  0 siblings, 2 replies; 37+ messages in thread
From: Kenneth Wolcott @ 2010-02-25  2:54 UTC (permalink / raw)
  To: cygwin-xfree

Hi Holger;

> In your first mail you said you wanted to start openbox as a window manager,
> now you talk about kde. That are two different things.
>
> What happens if you start openbox in a bash shell without starting a
> X-Server first?

If I don't set the DISPLAY environment variable then it complains
about it not being set.

If I do set the DISPLAY environment variable then it complains about
not being able to use it.

Apparently I'm missing some components...

$ openbox-session
which: no hsetroot in [PATH content deleted]
which: no esetroot in [PATH content deleted]
xsetroot:  unable to open display 'KWOLCOTT-T61:0.0'
which: no gnome-settings-daemon in [PATH content deleted]
which: no xfce-mcs-manager in [PATH content deleted]
which: no start_kdeinit in [PATH content deleted]
Openbox-Message: Failed to open the display from the DISPLAY
environment variable.

Normally I use the Xming X Window manager if I'm not running the twm
Window Manager executed from Cygwin.

Thanks,
Ken Wolcott

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-24 22:56       ` Kenneth Wolcott
  2010-02-25  0:35         ` Holger Krull
@ 2010-02-25  0:44         ` Reid Thompson
  2010-02-26 23:35           ` Kenneth Wolcott
  1 sibling, 1 reply; 37+ messages in thread
From: Reid Thompson @ 2010-02-25  0:44 UTC (permalink / raw)
  To: cygwin-xfree

Try this:
Copy the shortcut as mentioned earlier in the email trail.
set the Target to be:
   C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx -- /usr/bin/Xwin.exe"
Note the double quotes around the last argument.  Without them, Xwin.exe doesn't start on my box.  startx also 
would not invoke Xwin.exe on my box unless I explicitly called it ala above
Commmand line invocation-> $ startx -- /usr/bin/Xwin.exe
perhaps it's not reading the symlink properly (the default server is set as /usr/bin/X, which is symlinked to 
/usr/bin/Xwin.exe) -- nope, explicitly setting default server to /usr/bin/Xwin.exe doesn't start it either via 
a plain startx on the command line.  setting startx to echo the eval of the invocation yields

    xinit "/home/rthompso/.xinitrc"  -- "/home/rthompso/.xserverrc" :0  -auth '/home/rthompso/.serverauth.5912'
aha -- my .xserverrc has:
  #exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset -emulate3buttons 100
uncomment it and try again from command line a plain startx... xserver starts up in it's own window with my 
.xinitrc programs running.
shut it down, and try my copy of the shortcut again, starts again.

Now that we've established that mine wasn't starting due to the invalid .xserverrc, reset the shortcut target to
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx
and try it -> starts again

Pasted below is my .xinitrc (you said you don't have one in $HOME), you can try this one in your $HOME if you 
want.  It will open a couple of rxvt terms and and xterm.  It is configured to startup the openbox window 
manager.  You MAY prefer to copy the /etc/X11/xinit/xinitrc to your $HOME/.xinitrc to use as your base.

cat .xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
     xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
     xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
     xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
     xmodmap $usermodmap
fi


/usr/bin/openbox  &
#twm &
#wmaker &
#/opt/gnome2/bin/gnome-session &

# start some nice programs
rxvt -d :0.0 -geometry 80x35+494+51 -sl 1500 -sr -fg lightblue -bg darkolivegreen &
rxvt -d :0.0 -geometry 80x20+294-0 -sl 1500 -sr -fg lightblue -bg darkolivegreen &
exec xterm -geometry 80x6+0+0 -name login


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-24 22:56       ` Kenneth Wolcott
@ 2010-02-25  0:35         ` Holger Krull
  2010-02-25  2:54           ` Kenneth Wolcott
  2010-02-25  0:44         ` Reid Thompson
  1 sibling, 1 reply; 37+ messages in thread
From: Holger Krull @ 2010-02-25  0:35 UTC (permalink / raw)
  To: cygwin-xfree

Am 24.02.2010 23:56, schrieb Kenneth Wolcott:
> Hi Holger;
>
>> 1. Do you have a .xinitrc in your home directory? (try ls -la )
>> If so, delete it.
>
>    I do not have a ~/.xinitrc in either /home/kwolcott
>
>> 2. Will it start if you manually enter startx in a cygwin shell?
>
>    I was able to start twm using startx without any problem, but I
> would like have KDE (yes I know it is much more heavy than twm)
>    I would like to use some KDE-based utilites (konsole and that time
> manager I keep forgetting the name of);
>
>> 2. If you don't change /etc/X11/xinit/xinitrc, can you start the X Server
>> with startx using twm?
>
> Yes.
>

In your first mail you said you wanted to start openbox as a window 
manager, now you talk about kde. That are two different things.

What happens if you start openbox in a bash shell without starting a 
X-Server first?


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-24 21:36     ` Holger Krull
@ 2010-02-24 22:56       ` Kenneth Wolcott
  2010-02-25  0:35         ` Holger Krull
  2010-02-25  0:44         ` Reid Thompson
  0 siblings, 2 replies; 37+ messages in thread
From: Kenneth Wolcott @ 2010-02-24 22:56 UTC (permalink / raw)
  To: cygwin-xfree

Hi Holger;

> 1. Do you have a .xinitrc in your home directory? (try ls -la )
> If so, delete it.

  I do not have a ~/.xinitrc in either /home/kwolcott

> 2. Will it start if you manually enter startx in a cygwin shell?

  I was able to start twm using startx without any problem, but I
would like have KDE (yes I know it is much more heavy than twm)
  I would like to use some KDE-based utilites (konsole and that time
manager I keep forgetting the name of);

> 2. If you don't change /etc/X11/xinit/xinitrc, can you start the X Server
> with startx using twm?

Yes.

I thought I had *everything* that comes with Cygwin 1.7 -- how do I prove that?

Thanks,
Ken Wolcott

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-24 20:21   ` Kenneth Wolcott
@ 2010-02-24 21:36     ` Holger Krull
  2010-02-24 22:56       ` Kenneth Wolcott
  0 siblings, 1 reply; 37+ messages in thread
From: Holger Krull @ 2010-02-24 21:36 UTC (permalink / raw)
  To: cygwin-xfree

Am 24.02.2010 21:21, schrieb Kenneth Wolcott:
> Hi;
>
>> To achive this, create a icon that points to
>> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx"
>>
>> Edit /etc/X11/xinit/xinitrc and change
>> twm&
>> to
>> openbox&
>>
>> That changes the behavior for all users.
>
>    I tried this last advice.
>
>    I get a quick flash and then gone (Windoze XP SP3, Cygwin 1.7).
>
>    What did I do wrong or what I do too much of or what did I do not enough of?
>
>    I'm really looking forward to a having a nice KDE screen initiated
> by cygwin rather than twm.
>

1. Do you have a .xinitrc in your home directory? (try ls -la )
If so, delete it.

2. Will it start if you manually enter startx in a cygwin shell?

2. If you don't change /etc/X11/xinit/xinitrc, can you start the X 
Server with startx using twm?



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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-24 15:45 ` Holger Krull
@ 2010-02-24 20:21   ` Kenneth Wolcott
  2010-02-24 21:36     ` Holger Krull
  0 siblings, 1 reply; 37+ messages in thread
From: Kenneth Wolcott @ 2010-02-24 20:21 UTC (permalink / raw)
  To: cygwin-xfree

Hi;

> To achive this, create a icon that points to
> C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx"
>
> Edit /etc/X11/xinit/xinitrc and change
> twm &
> to
> openbox &
>
> That changes the behavior for all users.

  I tried this last advice.

  I get a quick flash and then gone (Windoze XP SP3, Cygwin 1.7).

  What did I do wrong or what I do too much of or what did I do not enough of?

  I'm really looking forward to a having a nice KDE screen initiated
by cygwin rather than twm.

Thanks,
Ken Wolcott

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 14:11 Joseph Ess
  2010-02-23 14:36 ` Jon TURNEY
@ 2010-02-24 15:45 ` Holger Krull
  2010-02-24 20:21   ` Kenneth Wolcott
  1 sibling, 1 reply; 37+ messages in thread
From: Holger Krull @ 2010-02-24 15:45 UTC (permalink / raw)
  To: cygwin-xfree

Am 23.02.2010 15:11, schrieb Joseph Ess:
> How do I start XWindows in full screen mode with OpenBox window manager?
> It used to be that I'd just put the command for the window manager at the end of startxwin.bat.  Now that file's gone away.
> I can't use startxwin.exe as it is multi-window only.  I can run XWin.exe, but the only command line or .XWinrc options I can find for that program are for Windows-specific functions(i.e. system tray icon).
> TIA,
> Joe

To achive this, create a icon that points to
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startx"

Edit /etc/X11/xinit/xinitrc and change
twm &
to
openbox &

That changes the behavior for all users.


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 19:42             ` Jon TURNEY
@ 2010-02-24 14:48               ` Joseph Ess
  0 siblings, 0 replies; 37+ messages in thread
From: Joseph Ess @ 2010-02-24 14:48 UTC (permalink / raw)
  To: cygwin-xfree

----- Original Message ----

> From: Jon TURNEY <jon.turney@dronecode.org.uk>
> To: cygwin-xfree@cygwin.com
> Cc: joseph_ess@yahoo.com
> Sent: Tue, February 23, 2010 2:42:47 PM
> Subject: Re: How do I start WM?
> 
> 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?"

That's some serious grasping at straws.
 
> 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!

When I do, the Xwindows desktop appears for a split second and disappears.  The "XWin Server" icon works as expected, bringing up a single xterm in a Windows window.



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 16:36     ` Christopher Faylor
@ 2010-02-23 19:57       ` Jon TURNEY
  0 siblings, 0 replies; 37+ messages in thread
From: Jon TURNEY @ 2010-02-23 19:57 UTC (permalink / raw)
  To: cygwin-xfree

On 23/02/2010 16:18, Christopher Faylor wrote:
>>> On 23/02/2010 14:11, Joseph Ess wrote:
>>>> How do I start XWindows in full screen mode with OpenBox window manager? It
>>>> used to be that I'd just put the command for the window manager at the end
>>>> of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
>>>> it is multi-window only.  I can run XWin.exe, but the only command line or
>>>> .XWinrc options I can find for that program are for Windows-specific
>>>> functions(i.e. system tray icon).
>>>
>>> Read the documentation.
>>>
>>> http://x.cygwin.com/docs/ug/using.html#using-starting-startx
>>>
>>>
>>> -- Jon TURNEY
>>> Volunteer Cygwin/X X Server maintainer
>>> From: Jon TURNEY<jon.turney@dronecode.org.uk>
>>
>> I've read the documentation.  The page you refer to mentions startxwin and startx.
>> As I mentioned before, startxwin is for multi-window only.
>> startx apparently requires a Cygwin shell. I'm trying to start Cygwin/XWindows in full screen mode.
>> Is there something I missed?
>
>  From my reading of the documentation, it sounds like you'd get this behavior by
> adding server options to startxwin:
>
>    startxwin -- [ server options ]

This isn't actually the case, as startxwin always supplies the '-multiwindow' 
option to XWin, and there is no XWin option to specify the default (windowed) 
mode you can add after it.

This is almost by design.  There are a few differences between startx and 
startxwin, appropriate to running in windowed or multiwindow mode, and mixing 
them up would be a bad idea.

* They use different scripts to start clients (~/.startxwinrc and ~/.xinitrc). 
  This is because we expect the .xinitrc to end by starting a WM, which would 
a bad idea for .startxwinrc (as it would discover the internal WM is already 
running (hopefully)) and exit immediately.

* startxwin exits after ~/.startxwinrc has completed and leaves XWin running, 
whereas startx waits until ~/.xinitrc exits (which is usually waiting for the 
WM started by it to exit) and then kills XWin.

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 19:04           ` Joseph Ess
  2010-02-23 19:41             ` Christopher Faylor
@ 2010-02-23 19:42             ` Jon TURNEY
  2010-02-24 14:48               ` Joseph Ess
  1 sibling, 1 reply; 37+ messages in thread
From: Jon TURNEY @ 2010-02-23 19:42 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: joseph_ess

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/


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 19:04           ` Joseph Ess
@ 2010-02-23 19:41             ` Christopher Faylor
  2010-02-23 19:42             ` Jon TURNEY
  1 sibling, 0 replies; 37+ messages in thread
From: Christopher Faylor @ 2010-02-23 19:41 UTC (permalink / raw)
  To: cygwin-xfree

On Tue, Feb 23, 2010 at 11:04:20AM -0800, Joseph Ess wrote:
>
>
>
>
>----- Original Message ----
>> From: Jon TURNEY <jon.turney@dronecode.org.uk>
>> To: cygwin-xfree@cygwin.com
>> Cc: joseph_ess@yahoo.com
>> Sent: Tue, February 23, 2010 1:49:56 PM
>> Subject: Re: How do I start WM?
>> 
>> 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?

Assuming that a ".bat file means I'm double clicking something" is
actually sort of a stretch.

But, if you need a .bat files why not just put the call to startx in a
.bat file?  You'd have to set the PATH appropriately, of course.

It seems like you should be able to call startxwin.exe directly if
needed too.

cgf

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 18:49         ` Jon TURNEY
@ 2010-02-23 19:04           ` Joseph Ess
  2010-02-23 19:41             ` Christopher Faylor
  2010-02-23 19:42             ` Jon TURNEY
  0 siblings, 2 replies; 37+ messages in thread
From: Joseph Ess @ 2010-02-23 19:04 UTC (permalink / raw)
  To: cygwin-xfree





----- Original Message ----
> From: Jon TURNEY <jon.turney@dronecode.org.uk>
> To: cygwin-xfree@cygwin.com
> Cc: joseph_ess@yahoo.com
> Sent: Tue, February 23, 2010 1:49:56 PM
> Subject: Re: How do I start WM?
> 
> 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?  



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 18:29       ` Joseph Ess
@ 2010-02-23 18:49         ` Jon TURNEY
  2010-02-23 19:04           ` Joseph Ess
  0 siblings, 1 reply; 37+ messages in thread
From: Jon TURNEY @ 2010-02-23 18:49 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: joseph_ess

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.

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 16:19     ` Jon TURNEY
@ 2010-02-23 18:29       ` Joseph Ess
  2010-02-23 18:49         ` Jon TURNEY
  0 siblings, 1 reply; 37+ messages in thread
From: Joseph Ess @ 2010-02-23 18:29 UTC (permalink / raw)
  To: cygwin-xfree





----- Original Message ----
> From: Jon TURNEY <jon.turney@dronecode.org.uk>
> To: cygwin-xfree@cygwin.com
> Cc: joseph_ess@yahoo.com
> Sent: Tue, February 23, 2010 11:19:40 AM
> Subject: Re: How do I start WM?
> 
> On 23/02/2010 15:11, Joseph Ess wrote:
> >> Sent: Tue, February 23, 2010 9:36:55 AM
> >> Subject: Re: How do I start WM?
> >>
> >> On 23/02/2010 14:11, Joseph Ess wrote:
> >>> How do I start XWindows in full screen mode with OpenBox window manager? It
> >>> used to be that I'd just put the command for the window manager at the end
> >>> of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
> >>> it is multi-window only.  I can run XWin.exe, but the only command line or
> >>> .XWinrc options I can find for that program are for Windows-specific
> >>> functions(i.e. system tray icon).
> >>
> >> Read the documentation.
> >>
> >> http://x.cygwin.com/docs/ug/using.html#using-starting-startx
> >
> > I've read the documentation.  The page you refer to mentions startxwin and 
> startx.
> > As I mentioned before, startxwin is for multi-window only.
> > startx apparently requires a Cygwin shell. I'm trying to start Cygwin/XWindows 
> in full screen mode.
> > Is there something I missed?
> 
> From your response, it sounds like you haven't actually tried using startx.

And you'd be wrong.

> 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". 

> Then please explain how it differs from what you want to achieve.

It doesn't start XWindows like startxwin.bat used to.  



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 15:11   ` Joseph Ess
  2010-02-23 16:19     ` Jon TURNEY
@ 2010-02-23 16:36     ` Christopher Faylor
  2010-02-23 19:57       ` Jon TURNEY
  1 sibling, 1 reply; 37+ messages in thread
From: Christopher Faylor @ 2010-02-23 16:36 UTC (permalink / raw)
  To: cygwin-xfree

On Tue, Feb 23, 2010 at 07:11:09AM -0800, Joseph Ess wrote:
>> To: XXX
>> Cc: XXX
>> Sent: Tue, February 23, 2010 9:36:55 AM
>> Subject: Re: How do I start WM?

There is no need to duplicate this.  It's all in the header.

>> On 23/02/2010 14:11, Joseph Ess wrote:
>> > How do I start XWindows in full screen mode with OpenBox window manager? It
>> > used to be that I'd just put the command for the window manager at the end
>> > of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
>> > it is multi-window only.  I can run XWin.exe, but the only command line or
>> > .XWinrc options I can find for that program are for Windows-specific
>> > functions(i.e. system tray icon).
>> 
>> Read the documentation.
>> 
>> http://x.cygwin.com/docs/ug/using.html#using-starting-startx
>> 
>> 
>> -- Jon TURNEY
>> Volunteer Cygwin/X X Server maintainer
>> From: Jon TURNEY <jon.turney@dronecode.org.uk>
>
>I've read the documentation.  The page you refer to mentions startxwin and startx.
>As I mentioned before, startxwin is for multi-window only. 
>startx apparently requires a Cygwin shell. I'm trying to start Cygwin/XWindows in full screen mode.
>Is there something I missed?

>From my reading of the documentation, it sounds like you'd get this behavior by
adding server options to startxwin:

  startxwin -- [ server options ]

cgf

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 15:11   ` Joseph Ess
@ 2010-02-23 16:19     ` Jon TURNEY
  2010-02-23 18:29       ` Joseph Ess
  2010-02-23 16:36     ` Christopher Faylor
  1 sibling, 1 reply; 37+ messages in thread
From: Jon TURNEY @ 2010-02-23 16:19 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: joseph_ess

On 23/02/2010 15:11, Joseph Ess wrote:
>> Sent: Tue, February 23, 2010 9:36:55 AM
>> Subject: Re: How do I start WM?
>>
>> On 23/02/2010 14:11, Joseph Ess wrote:
>>> How do I start XWindows in full screen mode with OpenBox window manager? It
>>> used to be that I'd just put the command for the window manager at the end
>>> of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
>>> it is multi-window only.  I can run XWin.exe, but the only command line or
>>> .XWinrc options I can find for that program are for Windows-specific
>>> functions(i.e. system tray icon).
>>
>> Read the documentation.
>>
>> http://x.cygwin.com/docs/ug/using.html#using-starting-startx
>
> I've read the documentation.  The page you refer to mentions startxwin and startx.
> As I mentioned before, startxwin is for multi-window only.
> startx apparently requires a Cygwin shell. I'm trying to start Cygwin/XWindows in full screen mode.
> Is there something I missed?

 From your response, it sounds like you haven't actually tried using startx.

Perhaps you should follow my suggestion and try it.

Then please explain how it differs from what you want to achieve.

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 14:36 ` Jon TURNEY
@ 2010-02-23 15:11   ` Joseph Ess
  2010-02-23 16:19     ` Jon TURNEY
  2010-02-23 16:36     ` Christopher Faylor
  0 siblings, 2 replies; 37+ messages in thread
From: Joseph Ess @ 2010-02-23 15:11 UTC (permalink / raw)
  To: cygwin-xfree

> To: cygwin-xfree@cygwin.com
> Cc: joseph_ess@yahoo.com
> Sent: Tue, February 23, 2010 9:36:55 AM
> Subject: Re: How do I start WM?
> 
> On 23/02/2010 14:11, Joseph Ess wrote:
> > How do I start XWindows in full screen mode with OpenBox window manager? It
> > used to be that I'd just put the command for the window manager at the end
> > of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
> > it is multi-window only.  I can run XWin.exe, but the only command line or
> > .XWinrc options I can find for that program are for Windows-specific
> > functions(i.e. system tray icon).
> 
> Read the documentation.
> 
> http://x.cygwin.com/docs/ug/using.html#using-starting-startx
> 
> 
> -- Jon TURNEY
> Volunteer Cygwin/X X Server maintainer
> From: Jon TURNEY <jon.turney@dronecode.org.uk>

I've read the documentation.  The page you refer to mentions startxwin and startx.
As I mentioned before, startxwin is for multi-window only. 
startx apparently requires a Cygwin shell. I'm trying to start Cygwin/XWindows in full screen mode.
Is there something I missed?



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: How do I start WM?
  2010-02-23 14:11 Joseph Ess
@ 2010-02-23 14:36 ` Jon TURNEY
  2010-02-23 15:11   ` Joseph Ess
  2010-02-24 15:45 ` Holger Krull
  1 sibling, 1 reply; 37+ messages in thread
From: Jon TURNEY @ 2010-02-23 14:36 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: joseph_ess

On 23/02/2010 14:11, Joseph Ess wrote:
> How do I start XWindows in full screen mode with OpenBox window manager? It
> used to be that I'd just put the command for the window manager at the end
> of startxwin.bat.  Now that file's gone away. I can't use startxwin.exe as
> it is multi-window only.  I can run XWin.exe, but the only command line or
> .XWinrc options I can find for that program are for Windows-specific
> functions(i.e. system tray icon).

Read the documentation.

http://x.cygwin.com/docs/ug/using.html#using-starting-startx


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


^ permalink raw reply	[flat|nested] 37+ messages in thread

* How do I start WM?
@ 2010-02-23 14:11 Joseph Ess
  2010-02-23 14:36 ` Jon TURNEY
  2010-02-24 15:45 ` Holger Krull
  0 siblings, 2 replies; 37+ messages in thread
From: Joseph Ess @ 2010-02-23 14:11 UTC (permalink / raw)
  To: cygwin-xfree

How do I start XWindows in full screen mode with OpenBox window manager?
It used to be that I'd just put the command for the window manager at the end of startxwin.bat.  Now that file's gone away.  
I can't use startxwin.exe as it is multi-window only.  I can run XWin.exe, but the only command line or .XWinrc options I can find for that program are for Windows-specific functions(i.e. system tray icon).  
TIA, 
Joe



      

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


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2010-03-01 21:54 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-25 19:53 How do I start WM? Joseph Ess
  -- strict thread matches above, loose matches on Subject: below --
2010-02-25 20:33 Joseph Ess
2010-02-25 21:32 ` Reid Thompson
2010-02-25 19:47 Joseph Ess
2010-02-25 19:51 ` Yaakov (Cygwin/X)
     [not found] <966033.40264.qm@web39608.mail.mud.yahoo.com>
2010-02-25 19:33 ` Yaakov (Cygwin/X)
2010-02-25 20:17 ` Reid Thompson
2010-02-25 16:16 Joseph Ess
2010-02-25 18:21 ` Yaakov (Cygwin/X)
2010-02-23 14:11 Joseph Ess
2010-02-23 14:36 ` Jon TURNEY
2010-02-23 15:11   ` Joseph Ess
2010-02-23 16:19     ` Jon TURNEY
2010-02-23 18:29       ` Joseph Ess
2010-02-23 18:49         ` Jon TURNEY
2010-02-23 19:04           ` Joseph Ess
2010-02-23 19:41             ` Christopher Faylor
2010-02-23 19:42             ` Jon TURNEY
2010-02-24 14:48               ` Joseph Ess
2010-02-23 16:36     ` Christopher Faylor
2010-02-23 19:57       ` Jon TURNEY
2010-02-24 15:45 ` Holger Krull
2010-02-24 20:21   ` Kenneth Wolcott
2010-02-24 21:36     ` Holger Krull
2010-02-24 22:56       ` Kenneth Wolcott
2010-02-25  0:35         ` Holger Krull
2010-02-25  2:54           ` Kenneth Wolcott
2010-02-25  3:16             ` Reid Thompson
2010-02-25 10:25             ` Holger Krull
2010-02-25 11:18               ` Yaakov (Cygwin/X)
2010-02-25 11:32                 ` Holger Krull
2010-02-25  0:44         ` Reid Thompson
2010-02-26 23:35           ` Kenneth Wolcott
2010-02-26 23:41             ` Kenneth Wolcott
2010-02-27  5:46               ` Reid Thompson
2010-03-01 10:17                 ` Anonymous bin ich
2010-03-01 21:54                   ` Kenneth Wolcott

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).