On Sun, 16 Feb 2003, Davor Cengija wrote:

> Now I thought it would be easier, in order to have both versions but to 
> force users use new LyX, to rename /usr/bin/lyx to /usr/bin/lyx-1.1.6p4 and 
> link /opt/bin/lyx to /usr/bin/lyx. Now when I run just 'lyx' (binary 
> reached through $PATH) it mysteriously tries to open /usr/share/lyx/... 
> files, instead of /opt/share/lyx/..., like it doesn't look absolute paths 
> but relative ones. When called as /opt/bin/lyx everything's fine.
> 
> I just removed the old version and now I can call /usr/bin/lyx or only lyx 
> and it correctly opens /opt/share/lyx/... files.
> 

I use the -userdir and -sysdir options to explicitly specify where to look 
for global and local lyx directories, respectively.

You could write a shell script to run the non-default version of lyx.
This is what I have on my home PC and lyx 1.1 and 1.2 coexist very 
happily. Tricky bit was the installation, both from binary rpms.

-- 
Steven Homolya
School of Physics and Materials Engineering
Monash University, VIC 3800
Australia
Tel: +61 3 9905 3694
Fax: +61 3 9905 3637

Reply via email to