Assuming your shell is bash, in your home directory put a file named .bashrc (or add to it if it is already there).
What I did was to write a shell script (I named it StartPgS) that I put in the PageStream directory and then run from either a terminal or a gui file manager. The script has the following lines:
#!/bin/bash export PGSPATH=/home/tim/PgS export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PGSPATH/SoftLogik/lib export PATH=$PATH:$PGSPATH $PGSPATH/PageStream4 exit 0
To be fancier I could have it determine PGSPATH from its execution path ($0) and the current directory ($PWD) and concatenate the two if necessary and then the PageStream directory would be portable. But I'm more too lazy.
Tim Doty
On Friday 18 July 2003 01:52, Anders Drejer wrote: > I am going to install PGSLinux and the help from the PGS homepage says > that I have to add some lines to the shell startup script. What is the > location of this file and what is the name of it? I am using Mandrake > 9.1
|