FVWM: FVWM Form for restarting?

From: John Palmieri <palmieri_at_math.mit.edu>
Date: 16 Oct 1996 11:45:44 -0400

I have a question about FvwmForm. I want to write a form for
restarting using another window manager--I want a window to pop up,
with little boxes I can check labeled "fvwm2", "twm", "olwm",
whatever, and then when I check one off, I want to restart using the
appropriate window manager.

I tried writing such a form, which I called RestartWM. It has lines
like

  *RestartWMSelection WM single
  *RestartWMChoice WM fvwm2 on "fvwm2"
  *RestartWMChoice WM twm off "twm"
  *RestartWMChoice WM uwm off "uwm"

and

  *RestartWMButton quit "Restart" ^M
  *RestartWMCommand Restart $(WM) $(Custom?$(WMOther))

But this last line doesn't work; no matter what I do, I always end up
with fvwm2 running. I suspect the problem is explained by the second
paragraph in the following passage from the Fwvm man page:

     Restart WindowManagerName
          Causes fvwm to restart itself if WindowManagerName is
          "fvwm2", or to switch to an alternate window manager if
          WindowManagerName is other than "fvwm2". If the window
          manager is not in your default search path, then you
          should use the full path name for WindowManagerName.

          This command should not have a trailing ampersand or
          any command line arguments and should not make use of
          any environmental variables. Of the following exam-
          ples, the first two are sure losers, but the third is
          OK:

               Key F1 R N Restart fvwm &
               Key F1 R N Restart $(HOME)/bin/fvwm
               Key F1 R N Restart /home/nation/bin/fvwm

So, is there a way to write this FvwmForm thing to get around this
difficulty?

-------------------------------------------------------------
John H. Palmieri
Department of Mathematics, M.I.T.
palmieri_at_math.mit.edu

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Oct 16 1996 - 10:45:55 BST

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