I haven't been satisfied with the way LarsWM handles multiple screens ever since I've started using more than one monitor.. I've looked a bit into other window managers which have support for Xinerama and generally liked it. But I found myself moving windows again..
So I've hacked Xinerama support into LarsWM. The following files are available:
- Version 7.2.10 (rock solid)
- Version 7.4.4 (stable)
- Version 7.5.3 (testing)
- Patch
- i386 RPM for RedHat7
- i386 RPM for FedoraCore1
- Source RPM
- Debian Package
Add the following to your/etc/apt/sources.list
:deb http://verplant.org/debian unstable larswm
deb-src http://verplant.org/debian unstable larswm
People love screenshots (123 kByte ;)
The behavior is as follows:
- For the not-tiled windows all n physical screens form one big virtual screen on which you can move the windows as everyone would expect - I think..
- On each of the first n-1 physical screens one window is placed full-sized.
- On the last (n-th) physical screen the windows are placed as always: one bigger left track, and everything else on a smaller right track.
- The bar is only drawn on the n-th physical screen.
Some random thoughts about the implementation:
- The order is determined by the order in the X-configuration. This is not ideal but everything else would introduice a lot of new configuration options which I wanetd to avoid.
- It should be fairly simple to change the bar to appear on a configurable physical screen.
- It would be pretty hard to have the left/right track screen another physical screen than the last one.
- The code that resizes the window to not overlap tools is all new.
- The
XINERAMA
define is used. This makes it possible to compile LarsWM with or without Xinerama support. However, the code gets a bit messy.
Known Bugs
Nobody's perfect. The following issues have been noticed but not yet addressed:
- When the last screen (the one with the bar) is not the rightmost, then tiled windows overlap.