FvwmCommand no such file or directory fvwmcommand error in opening message fifo

When I start fvwm and try to run the command

FvwmCommand “Current (*) WindowStyle MiniIcon $Icon”

I get the error in the title

no such file or directory fvwmcommand error in opening message fifo

My uinderstanding is that the source of this error is that before I can run an FvwmCommand, I need to first start the module FvwmCommandS. Accordingly, in my .fvwm2rc script I have these lines.

DestroyFunc StartFunction
AddToFunc StartFunction
AddToFunc StartFunction “I” Module FvwmCommandS`

However, these lines aren’t doing what they are supposed to do, at least the first time.

To fix the problem, I can do one of two things
1) I can run Fvwn Restart from the menu
2) From FvwmConsole, I can type FvwmCommandS

How can I get the module FvwmCommandS to start the first time I run the .fvwm2rc script, so I don’t have to go through these extra steps?

Thanks!

Hi @LeoKSimon

Is this fvwm3? If so, FvwmCommand has been replaced with a wrapper script which uses a new module: FvwmMFL. You therefore want:

AddToFunc StartFunction I Module FvwmMFL

As for the command you’re then going to run:

FvwmCommand “Current (*) WindowStyle MiniIcon $Icon”

The use of Current (*) is archaic, and you only need:

FvwmCommand "Pick WindowStyle ...."

Thanks @tomasadam. I’m still using fvwm2, but “Pick WindowStyle…” works fine for that also.