> In my .fvwmrc, I have lots of menus for tons 'o programs, but they
> don't seem to be in the PATH. My question is, what PATH does fvwm
> use?
It uses the one that it inherits when it starts. So make sure that
whatever script you use to start fvwm sets the PATH first. For
example, I have
. ${HOME}/.profile
at the beginning of my .xsession file. All the programs run out of my
.xsession use the same PATH as my shells (since I use bash). If you
use *csh, have your startup script run that same shell and source your
startup file at the beginning (might not be necessary - I seem to
remember those shells source the startup file automatically). If you
really want to get complicated, you can make your .xsession be a
/bin/sh script and get the path from your .cshrc by doing the
following:
#!/bin/sh
/bin/csh -c "printenv" | \
sed 's/^\([^=]*\)=\(.*\)/\1=\"\2\" export \1/' > /tmp/foo$$
. /tmp/foo$$
rm /tmp/foo$$
Ugly, but at least you don't have to write a *csh script if you've
already got a /bin/sh script.
--
Dave Goldberg
Post: The Mitre Corporation\MS B305\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Email: dsg_at_mitre.org
--
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 Fri May 31 1996 - 11:23:31 BST