I like to keep my 3200 (beta 3) on next to my bed to check email and do random little things here and there so I don't have to keep my Macbook on 24/7 (it already gets enough of a beating at work every day). Anyway I have it set up to never turn off or suspend or shut off the screen with a timeout.
Anyway I do like to shut the lid and have the screen go off. I have accomplished this with the following line in my keys file:
XF86RotateWindows :exec /etc/sysconfig/clamshell/closed.sh
which should be easily translateable to other WMs. While it does work, it does have a side effect: when you open the screen back up it turns on then turns off again (or it is hitting the other little screen button for rotating behind the main one), and the only reason I can think of is that it is hitting the button again. How does MB or the other WMs handle this ? Has anyone gotten this behavior to work well under fluxbox, either with the clamshell closing OR rotating (this would be nice for me but is not a must).