Re: FVWM: fvwm2 and other window managers

From: Dan Espen <dane_at_dane-2.cc.telcordia.com>
Date: Fri, 04 Jan 2002 08:18:19 -0500

Neil Zanella <nzanella_at_cs.mun.ca> writes:
>
> Hello,
>
> It would be nice if it were possible to start other window
> managers from within fvwm2 in such a way that when the started
> window manager is exited fvwm2 is restored. This makes it possible
> to test applications under different window managers without
> having to exit each window manager individually and reopen
> all the windows that were on the desktop.
>
> Alternatively is there a way to exit fvwm2 without quitting X
> so as to temporarily obtain undecorated windows.

I've always found this to be the simplest approach, in my .xinitrc:

loopwm fvwm2 &
exec xlogout -iconic

The shell "loopwm":

#first run the wm, then prompt for which one to run next":
wm=$_at_
while [ 0 ] ; do
  $wm
  wm=`xprompt -geometry +100+100 -re -warp -rlen 44 -p 'WM/end (fvwm2, twm, mwm, olwm)'`
  if [ $? != 0 ] ; then
    exit
  fi
  if [ "$wm" = "end" ] ; then
    exit
  fi
done

You'll probably need to download xprompt and xlogout, for some reason
they are not included with most X packages.

xlogout holds the session, click on the icon, then
click on "logout" to exit X.
xprompt and loopwm lets you start up any window
manager or any other program in place of the window manager.
xprompt and loopwm also protect you from window manager crashes,
through I don't see many of those.

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jan 04 2002 - 07:18:58 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST