On Wednesday 12 of September 2007, Dirk Mueller wrote:
On Tuesday, 11. September 2007, Lubos Lunak wrote:
5) we could probably add 'kde3' and 'kde4' scripts that do the proper setup and let one easily run the selected version of KDE apps
The upstream idea was to install a binary that evaluates the desktop environment (e.g. by reading the x property on the x server) and then launches the "right" version of the binary, by changing $PATH and XDG_DATA_DIRS accordingly (and appending 3 or 4 suffix). this is the solution we have to implement for upstream anyway for distributions that have both kde3 and kde4`s kprinter in path, and it would fix the issue for us as well.
I meant something different with 5) - wanting to run a specific version. So if I wanted to run KDE4 version of Konsole, I'd just run "kde4 konsole". What you describe looks ok to me, but since we have the advantage of different prefixes I think for 10.3 it should be enough to have KDE3 in the path first unless the user is in KDE4.
IMHO a last resort would be /opt/kde3/bin in front of the path/xdg_data_dirs based on a sysconfig key, but that doesn`t really fix the kdesu case.
-- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 028 972 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http//www.suse.cz --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org