[wmii] wmii Q's (python bindings & attaching windows)

From: Jeremy Hankins <nowan_AT_nowan.org>
Date: Sun, 30 Oct 2005 15:08:24 -0500

I'm also new to wmii, and it seems very interesting. I like the
filesystem-as-control concept, and the layout approach seems very useful
(though I understand that's to change).

I started with wmii-2 (from the debian repository) until I realized how
much the configuration is to change with wmii-3, so I switched to the
darcs repository. However, the python stuff I wrote while playing with
wmii-2 (using the python2.3-libixp v2-1 package from debian) no longer
works -- it hangs on any attempt to read from the filesystem. Is there
a newer version of the python bindings, or is there something I might be
doing wrong?

My second question is how to switch to a window given a path -- e.g.,
/wm/page/1/managed/2/client/2, or /wm/detached/3. I looked at the
'navigate' script (from a tar off the web page), which has some code
that sort of takes care of the former case, but it doesn't change the
window decorations to indicate the change of focus, and it doesn't warp
the mouse, so if the mouse gets jiggled focus goes back to the original
window. And I don't know how I'd attach a particular detached window.

(If you're wondering, I'm hoping to replicate the functionality of the
app.lua script I wrote for ion: basically, if application X is running,
show it to me, otherwise start it.)

-- 
Jeremy Hankins <nowan_AT_nowan.org>
PGP fingerprint: 748F 4D16 538E 75D6 8333  9E10 D212 B5ED 37D0 0A03
Received on Sun Oct 30 2005 - 21:09:47 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:24 UTC