15/07/2008

Running multiple X servers with Ubuntu

Developing Samurai-X ive definatly needed to be running two X servers. Finding how to do this on Ubuntu was a bit of a pita so here is a quick guide:

  • sudo dpkg-reconfigure x11-common
    select "console users"
  • create/copy a .xinit file, make sure it has at least something like
    exec /usr/bin/xterm
  • Press Control+Alt+F1 and login
  • Run
    xinit .your-xinit -- :1
  • Switch to the new x server with Control+Alt+F9

You can run more by changing the :1 to :2 or whatever

Ive read lots of alternatives but this is the only way Ive got it to work on Ubuntu Hardy.

14/07/2008

Samurai-X

Finally Ive done it and written a window manager in pure python, lots and lots of ctypes, but no actual c code. Presenting Samurai-X

The feature set is pretty small at the moment, just window resizing/moving, virtual desktops and a statusbar (drawn with cairo). Not sure exactly what the full feature list will look like, probably something like awesome/fluxbox - but with more python goodness