re, all.

I just wanted to let y'all know that the bbkeys rewrite is at a stable
point.  I've done all my work in a different CVS module, so if you are
interested in checking it out, you'll need to checkout the bbkeys-ng
module from bbkeys's CVS repository.  Check out
http://sourceforge.net/cvs/?group_id=33459 for further information. 

This pre-release will only work with purely NETWM-compliant window
managers, such as openbox2 and blackbox-0.7x.x.  It should also work
with gnome2 and kde3.  None of the previous blackbox-specific atoms are
included, so toggling window decorations and toggling omnipresence are
broken until blackbox defines how they will be accomplished.  Everything
else should work correctly.  Being an oddball, I run openbox2 with
kicker/kdesktop/etc. currently, so all of my testing has thus far been
done in that environment.  And yes, bbkeys-ng can pop the root menu for
openbox2 (and soon blackbox-0.7x.x)....


For relevant and important information, check out the README and NEWS
files in the source distribution.  In particular, the configuration and
keybindings definition files have now been merged into a single file,
and that is defaulted to ~/.blackbox/keybindings.  I've attached the
file that I'm currently using as an example.  You'll note that the
structure has completely changed.  This is a good thing, to be sure.

I have borrowed heavily from epist's code base for a few classes in the
bbkeys rewrite.  This is explained further in the README and NEWS files,
should anyone care to read....  I've also used a BSD license for this
rewrite.  I'm curious to hear if anyone cares.  =:)

This rewrite is the first bbtool, to my knowledge, that takes advantage
of the new blackbox library.  At the moment, it's still being worked on
by shaleh and nyz.  But as you will see if you try bbkeys out, it's
fully functional.  It is currently not dynamically-linkable, so the
library will be compiled into bbkeys.  This will change in the hopefully
near future (anyone want to pay shaleh so he can code more on
blackbox?)  =:) and bbkeys will soon have the library dynamically
linked.  Shared code is good....



To actually compile and run the little bugger, you'll need to do four
things.  First, you'll need to pull down the blackbox source code from
CVS.  Then you'll need to compile it--you don't need to install it, we
just need the blackbox library.  Then you'll need to edit the first line
of bbkeys-ng/src/Makefile.am and point it to where your blackbox source
is.  Finally, you need to run ./bootstrap from the top directory of the
bbkeys-ng source code.

### BIG HONKING NOTE ###
If anyone can help me with a patch for configure.in so that the
configure script can find where the blackbox library is installed (or 
be told where through a "--blackboxlibdir=" directive), I'd greatly
appreciate it.  I know it's not rocket science, but it would be one less
thing to spend time on....

After that, it's "./configure [OPTIONS]; make; make install" like
normal.

### ANOTHER BIG HONKING NOTE ###

This is a very rough release.  I'm running the new version of bbkeys
myself, but it's only been in the last couple of hours that I had the
time to get it to where it's actually usable.  There a several things
missing, like directives for building RPM and deb packages, etc.  I will
be cleaning things up in the hopefully-near future and will probably
eventually move the whole thing back into the main bbkeys module before
I release it.  

Other things that are missing....

- perl configurator script needs to be rewritten for the new file syntax
(must handle config options as well as keybindings).  Any volunteers? 
=:)  The config-file format is pretty well set in stone in my mind,
unless anyone has any Nobel-level ideas.

- popup window-cycling menu/list needs to be implemented still.  This
will be my next area of focus.

- configure.in script needs to be patched to allow user to tell us where
blackboxlib is

- other stuff I'm sure


If you've read this far....  =:)  Please, PLEASE give feedback on
this--preferably send it to the list.  Let me know if you have any
problems, questions, suggestions, patches, or encouragement.

Thanks!!

-- 

,-----------------------------------------------------------------//
| Jason 'vanRijn' Kasper ::  Numbers 6:22-26 
 `
 | All brontosauruses are thin at one end, much MUCH thicker 
 | in the middle, and then thin again at the far end.  That is 
 | the theory that I have and which is mine, and what it is too.  
 ,
| bash$ :(){ :|:&};:
`----------------------//
[begin] (bbkeys configuration file)

  [config]
    [option] (honorModifiers) {false}
    [option] (stackedCycling) {true}
    [option] (stackedRaise) {false}
    [option] (showCycleMenu)  {true}
    [option] (menuTextJustify) {right}
    [option] (autoConfig)   {true}
    [option] (autoConfigCheckTimeout) {10}
    [option] (workspaceColumns) {4}
    [option] (workspaceRows) {2}
  [end]

  [keybindings] (begin keybindings)
    [chain] (Mod1-Y)
      [execute] (1) {xmms}
      [execute] (2) {aumix -v +5}
      [execute] (3) {aumix -v -5}
    [end]
    [Lower]  (Mod1-Down)
    [Raise]  (Mod1-Up)
    [toggleShade]  (Mod1-F9)
    [Close]  (Mod1-F4)
    [Iconify]  (Mod1-M)
    [toggleMaximizeFull]  (Mod1-F12)
    [toggleMaximizeHorizontal]  (Mod1-F11)
    [toggleMaximizeVertical]  (Mod1-F10)
    [toggleOmnipresent]  (Mod1-Control-S)
    [toggleDecorations]  (Mod1-Control-T)
    [resizeWindowWidth]  (Mod1-Control-Shift-Left) {-5}
    [resizeWindowWidth]  (Mod1-Control-Shift-Right) {5}
    [resizeWindowHeight]  (Mod1-Control-Shift-Up) {-5}
    [resizeWindowHeight]  (Mod1-Control-Shift-Down) {5}
    [moveWindowUp]  (Mod1-Control-Up) 
    [moveWindowDown]  (Mod1-Control-Down)
    [moveWindowLeft]  (Mod1-Control-Left)
    [moveWindowRight]  (Mod1-Control-Right)
    [NextWindow]  (Mod1-Tab)
    [NextWindowOnAllWorkspaces]  (Mod1-Control-Tab)
    [PrevWindow]  (Mod1-Shift-Tab)
    [changeWorkspace]  (Mod1-1) {1}
    [changeWorkspace]  (Mod1-2) {2}
    [changeWorkspace]  (Mod1-3) {3}
    [changeWorkspace]  (Mod1-4) {4}
    [changeWorkspace]  (Mod1-5) {5}
    [changeWorkspace]  (Mod1-6) {6}
    [changeWorkspace]  (Mod1-7) {7}
    [changeWorkspace]  (Mod1-8) {8}

    [showRootMenu] (Mod1-Control-Escape)

    [Execute]  (Mod1-F5) {xrefresh}
    [Execute]  (Mod1-F1) {aterm -fn smoothansi -fg white -bg black -trsb -tr -sh 80 
-tint steelblue -cr green -sl 5000}
  [end] (end keybindings)
[end] (end bbkeys configuration)

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to