Re: FVWM: what is different - problems executing programs

From: Georg Hager <btp426_at_btp4x9.phy.uni-bayreuth.de>
Date: Tue, 16 Apr 1996 10:58:30 -0600

Hi all!

On Apr 15, 12:08pm, Hal DeVore wrote:
> Subject: Re: FVWM: what is different - problems executing programs
> >>>>> "Stephen" == Stephen Riehm <stephen.riehm_at_PC-Plus.DE> writes:
>
> Stephen> Is there a logical reason why starting applications from
> Stephen> the window manager seems to be different than starting
> Stephen> them from the command line? Can someone explain it in a
> Stephen> way which might lead to a solution for this problem?
>
> Sure. The window manager's environment (i.e., PATH, DISPLAY, and any
> other environment variable) isn't necessarily set up the same as "the
> CLI" (by which I assume you mean from an xterm or other "terminal
> emulator" window).

I've had the same problem, and the cure was to set the environment in .xsession
before anything else happens. This is my .xsession file:

---------------------
#!/bin/sh

{ eval `/usr/bin/X11/userenv` && echo "Use full userenvironement"; }||
{ PATH=$PATH:/usr/local/bin:/usr/local/bin/X11 && export PATH && echo "Use
simple path extension"; }

/home/btp426/bin/fvwm95-2 &
xhost +
[.....]
exec /usr/bin/X11/reaper
----------------------

The reason for this somewhat weird construct is that the `eval' thing sometimes
doesn't work for reasons I don't know (I use IRIX 5.3 and Xsgi).

Hope this helps,
Georg.

-- 
georg.hager_at_theo.phy.uni-bayreuth.de
Tel. 0921/55-3213
   ``God created the integers, men made the remaining''    (Kronecker)
   ... but surely the Devil let them conceive partial differential equations!
--
--
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 Tue Apr 16 1996 - 03:55:57 BST

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