Mailinglist Archive: opensuse-kde (85 mails)

< Previous Next >
[opensuse-kde] KDE3 vs KDE4 apps
  • From: Lubos Lunak <l.lunak@xxxxxxx>
  • Date: Wed, 12 Sep 2007 14:25:52 +0200
  • Message-id: <200709121425.52847.l.lunak@xxxxxxx>
(sending again to opensuse-kde)

 Hello,

 there are several issues when installing also KDE4 on 10.3:

1) people not running a KDE session will get KDE4 versions if both KDE3 and 
KDE4 version of an app are installed (#300657)

2) running things via kdesu prefers KDE4 versions (#309044 - has been already 
fixed by Stephan by changing KService, but that doesn't help with all cases, 
e.g. the wrapper script in #276585)

3) ksmserver will restore KDE3 versions when KDE4 application was saved in 
session (well, right now KDE4 apps crash on exit, but anyway)

4) $XDG_DATA_DIRS has /usr/share before /opt/kde3/share, thus preferring KDE4 
data (although I'm not sure how much, is this only for kbuildsycoca?)

5) something more?

 We don't install much of KDE4 by default, and, given the current state of 
KDE4, I'd expect that the usual use scenario would be that people normally 
use KDE3 and occassionally would use something from KDE4, for whatever 
reason. Therefore I think KDE3 versions should be preferred unless being in 
KDE4. So I'd suggest:

1) KDE3 path is first in $PATH (in /etc/profile.d?), KDE4's startkde 
sets /usr/bin/ first

2) KDE3's kdesu prepends /opt/kde3/bin to $PATH

3) not sure how to fix that

4) that should get fixed in the defaults (/etc/profile.d/xdg-environment.sh) 
and KDE4's startkde should set it back again - I hope that wouldn't affect 
GNOME somehow, but since they should not have anything under /opt/kde3/ I 
hope it wouldn't

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

 Comments, objections, whatever?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@xxxxxxx , l.lunak@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kde+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups