Re: FVWM: DISPLAY variable changing after running fvwm

From: Mikhael Goikhman <migo_at_cortext.co.il>
Date: Thu, 6 Jul 2000 00:54:17 +0300

On 05 Jul 2000 11:45:40 -0500, John Giles wrote:
>
> I have $DISPLAY exported to "computer_name:0.0" before I run fvwm.
> When I bring up an xterm inside fvwm, my DISPLAY variable has changed
> to just ":0.0", when it should be "computer_name:0.0"... Why does fvwm
> strip off the name of the computer in this variable ???

fvwm itself does not strip computer_name from DISPLAY variable. What it
does is reseting DISPLAY variable to whatever display-string X server
returns. So it is X that stripts. It is possible to change fvwm not to
reset DISPLAY if already set, but probably the current behaviour is ok.

I see several ways to solve your problem. Hope one of them helps.

1) Use $HOSTDISPLAY, it should be fully qualified, i.e. computer_name:0.0.
2) Add a line: PipeRead `echo SetEnv DISPLAY computer_name$DISPLAY`
2.1) in 2.3 this line may be: SetEnv DISPLAY computer_name$[DISPLAY]
2.2) or: SetEnv DISPLAY $[HOSTDISPLAY]
3) Export DISPLAY variable with a computer_name including a dot.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jul 05 2000 - 16:55:21 BST

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