This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
patch for openbox to work
- From: John F Davis <johndavi at us dot ibm dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Wed, 15 Aug 2007 11:10:24 -0400
- Subject: patch for openbox to work
- Reply-to: cygwin-xfree at cygwin dot com
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.000000000 -0400
+++ bsetbgnew 2007-08-15 10:48:38.000000000 -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/bsetbgXXXX` || `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/