patch for openbox to work

2007-08-15 Thread John F Davis

Hello

I was trying to get openbox to run in X.  I read some posts and managed to
get it working.  One change needed to be made to /usr/X11R6/bin/bsetbg
similar to the bzdiff patch in 2004.

Here is the patch for that file.

--- bsetbgold   2007-08-15 10:48:58.0 -0400
+++ bsetbgnew   2007-08-15 10:48:38.0 -0400
@@ -602,7 +602,7 @@
 VERSION=1.12
 MORE=(C) 2000 by lordzork industries (http://lordzork.com/)
 PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
-TMPFILE=`tempfile --prefix=bsetbg`
+TMPFILE=`mktemp /tmp/bsetbg` || `tempfile --prefix=bsetbg`
 ARGUMENT=$1


Also, per the other emails, this is how I am starting openbox from my
cygwin shell.


#!/bin/sh
# mystartx
/usr/X11R6/bin/Xwin.exe :0 -rootless
/usr/bin/xterm -bg black -fg green -sb -rightbar -display :0 
/usr/bin/xterm -bg black -fg green -sb -rightbar -display :0 
/usr/X11R6/bin/openbox -display :0


Lastly, nothing would have happen without the help of Soren Andersen
(somian) on #cygwin on irc.openprojects.org

JD


ps. anybody got the popup menus or bbkeys working?


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



openbox works, but how do I get the middle mouse button to display a menu?

2007-08-15 Thread John F Davis

Hello

I have openbox working, but when I click my middle mouse button on my
windows desktop it opens windows desktop dialog.

On a related issue, if I use openbox and icon a window, I can not access
the windows anymore.  Openbox on linux accesses the icon'd windows via the
middle mouse button clicked on the desktop.

Please advise.

JD


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