A very common way to write $HOME in a path is with ~

I have the following functions:

DestroyFunc Music-Start
AddToFunc Music-Start
+ I Exec exec $0

DestroyMenu /Music/Start
AddToMenu /Music/Start
+ '$[gt.Start MPlayer]' Music-Start "mplayer -slave -idle -input
file=/home/$[USERDIR]/.mplayer/pipe"
Test (x xdradio) + '$[gt.Start XDRadio]' Music-Start "xdradio"

The xdradio file is into ~/bin and I start fvwm with startx.

With "PATH="~/bin:$PATH" into ~/.bash_profile, I get only the first
menu line on the screen.
With "PATH="/home/dom/bin:$PATH" into ~/.bash_profile, I get the 2
menu lines on the screen.

It look like the "Test (x xdradio) ..." work only in the first case.
Is it a bug in fvwm or somewhere else, or some obscure and wanted stuff
I am not aware of?

Ciao,
Dominique




Reply via email to