Code: Select all
xwin jwm
xwin jwn
xwin JWM
xwin icwm
But other software might use /etc/windowmanager and assume it is correct, (e.g. remasterpup2) which could cause problems. I think:
1) the code in .xinitrc that checks the validity of /etc/windowmanager should be moved to xwin
2) xwin should check the validity of /etc/windowmanager
3) xwin should display an appropriate error message (dialog might get more attention.)
4) optionally, xwin could place a copy of the error message in $HOME, something like that.
5) it should offer a choice to exit to allow the user to start xwin with a valid wm name, or wait 30s and allow xwin to automatically fix /etc/windowmanager with the default wm (not necessarily jwm.)
There are many ways to do things. I think /etc/windowmanager should be checked AND fixed by the software.
See MochiMoppel's posts here.