Great How To! I'm currently running your configuration!
You can make GDM (and KDM) able to run a script instead of an application just changing the "Type=Application" line in "Type=Xsession" in /usr/share/xsessions/blackbox.desktop.
An example of "blackbox.desktop":
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Blackbox
Comment=Highly configurable and low resource X11 Window manager
Exec=/usr/bin/blackbox_startup
Terminal=False
TryExec=/usr/bin/blackbox_startup
Icon=blackbox.xpm
Type=Xsession
This will execute automatically "/usr/bin/blackbox_startup" when you log in.
Hope this help
Bookmarks