User Tools

Site Tools


unix:wmii

This is an old revision of the document!


Windows Manager Improved II (wmii)

I've been experimenting with using wmii as my window manager in Ubuntu Karmic, without discarding all of the Gnome desktop features.

Q: Why don't new window appear in the current view?

A: Because they don't match the current tag. I wrote a script to tag all new windows with the current view.

#!/usr/bin/env python
 
import os
import sys
 
p = os.popen("wmiir read /event")
while True:
    event = p.readline()
    if event.startswith("CreateClient"):
        client = event.split(" ", 1)[1].strip()
        os.system("wmiir xwrite /client/%s/tags $(wmiir read /tag/sel/ctl | head -n1)" % client)
unix/wmii.1261074339.txt.gz · Last modified: 2009/12/17 18:25 by robm