Article:
 |
|
Hands on X11
|
| Subject: |
|
Enivronment variables |
| Date: |
|
2003-03-16 17:30:15 |
| From: |
|
anonymous2
|
|
|
|
(Take two... ahem....)
It would be preferable to dispense with the X11 xterm altogether, and work through one's customized Terminal.app setup. So what environment variables need to be set, as X11 reportly does already, so that X-windows programs can be launched from Terminal? What is the best way to set these variables? What are the possible adverse consequences? TIA.
|
Showing messages 1 through 2 of 2.
-
Enivronment variables
2003-03-17 04:43:12
danbenjamin
[View]
-
Enivronment variables
2003-04-23 14:08:01
zankl
[View]
:/usr/X11R6/binto your PATH variable, and will need to create a new shell variable, DISPLAY, and set it to:0.0In bash, you'd do this:
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/username:/usr/X11R6/binexport DISPLAY=:0.0If you're using tcsh, you'd do:
set PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/username:/usr/X11R6/binDISPLAY=:0.0Be sure to replace username in the above examples with your own username.
Now, after launching X11, you should be able to run commands from the Terminal window instead.
Good luck.