Index » PageStream Support » Linux » Shell startup script
Sign in to add a comment. Pages: 1
2003-07-18 08:52:38 CT #1
Anders Drejer
From: Denmark
Registered: 2006-02-16
Posts: 86

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

--
Mvh
Anders


2003-07-18 07:08:11 CT #2
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

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


Sign in to add a comment. Pages: 1
Index » PageStream Support » Linux » Shell startup script

This topic is closed due to inactivity.