Can't start acroread from menu

I have tried to make this in my .fvwm2rc file:

Most popular programs

AddToMenu MyApps “MyApps Menu” Title
“&4. Acroread” Exec exec acroread

but for some reason it only works if I specify the whole path:

+"&4. Acroread" Exec exec /usr/local/Adobe/Acrobat7.0/bin/./acroread

Acroread works fine if I just open a shell and type acroread.

Any ideas?

You should make sure you are logged in to your shell with the same user that started up fvwm. If that’s not the problem then beats me.

FVWM ws probably started with a different $PATH to the shell. It can happen depending on how you start FVWM, how you launch your shells, and where you define your PATH