From kde-core-devel Wed Oct 27 15:09:45 2004 From: Diego Iastrubni Date: Wed, 27 Oct 2004 15:09:45 +0000 To: kde-core-devel Subject: Re: running application from $kdedir with multiple kde installs Message-Id: <417FBA39.6010900 () kdemail ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=109888977217558 Michael Pyne wrote: >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? >> >> h0w can I know what path is "kdesktop" seeing? > >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? > > will not help since kde is in /usr/bin