From kde-core-devel Wed Oct 27 00:39:52 2004 From: Michael Pyne Date: Wed, 27 Oct 2004 00:39:52 +0000 To: kde-core-devel Subject: Re: running application from $kdedir with multiple kde installs Message-Id: <200410262039.52979.pynm0001 () comcast ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=109883763019896 On Tuesday 26 October 2004 06:33 pm, David Faure wrote: > > when I run kword without the path, I see 1.3.2 in kword's about, when I > > run /usr/local/kde33/bin/kword i see "1.3post" in kword's about box > > (running koffice head with kdelibs branch) > > Then something is changing your PATH - what else can I say? My .bashrc contains the following variable to remove the system KDE from the PATH: PATH=${PATH//\/usr\/kde\/[^:]*:} export PATH=${PATH//\/usr\/qt\/3[^:]*:} This is some sort of bash-ism for applying a search-and-replace to the value of the variable. This one removes all /usr/kde/* and /usr/qt/3* type paths from the PATH. Maybe it'll work for you? Regards, - Michael Pyne