This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kde 4 breaks kde 3 applications

Tags: None
(comma "," separated)
User avatar
ash
Registered Member
Posts
280
Karma
0

kde 4 breaks kde 3 applications

Thu Jan 08, 2009 1:40 pm
i have both kde 4.2 and 3.5 on linux (same happened with 4.1 too)

kde 4 is in /usr/

kde 3 is in /opt/kde/

for some reason kde 3 looks into the kde 4 system files instead of his own. this results in stuff like

half the options (like location bar and most buttons in konqueror) disappear from toolbars in most applications

menus change or break (like in kolorpaint 3 few menus disappeared and one previously invisible (titled DO NOT TRANSLATE) appeared with the paint tools inside

all those breaks are fixed when i delete certain files from the kde 4 system folders (but that breaks kde 4 apps)

k menu in kde 3 is empty (happened after upgrade to 4.2 only)

how can i make kde 3 ignore kde 4 and look in its own folders in /opt/ first ?
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: kde 4 breaks kde 3 applications

Thu Jan 08, 2009 1:44 pm
It might be that KDEDIRS is not set or not set correctly (e.g. containing the other prefix first)

See http://techbase.kde.org/KDE_System_Admi ... es#KDEDIRS

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
ash
Registered Member
Posts
280
Karma
0

RE: kde 4 breaks kde 3 applications

Thu Jan 08, 2009 2:39 pm
thx !

it did not work

i tried to run

KDEDIR=/opt/kde/ startx
KDEDIRS=/opt/kde/ startx

and to add to the top of /opt/kde/bin/startkde

export KDEDIR="/opt/kde/"
export KDEDIRS="/opt/kde/"

none of the options changed anything
User avatar
ash
Registered Member
Posts
280
Karma
0

RE: kde 4 breaks kde 3 applications

Wed Jan 14, 2009 5:06 pm
solution anyone ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

RE: kde 4 breaks kde 3 applications

Wed Jan 14, 2009 11:21 pm
Unusual. Try making sure $PATH is set properly and use seperate $KDEHOME for each ( .kde for KDE 3, .kde4 for KDE 4 ) Make sure that $KDEDIRS is not being reset by the KDE 3 startkde script.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
ash
Registered Member
Posts
280
Karma
0

RE: kde 4 breaks kde 3 applications

Thu Jan 15, 2009 12:24 pm
bcooksley wrote:Unusual. Try making sure $PATH is set properly and use seperate $KDEHOME for each ( .kde for KDE 3, .kde4 for KDE 4 ) Make sure that $KDEDIRS is not being reset by the KDE 3 startkde script.


how / where i set them ?

i use arch linux (a simple linux distro based on cli)
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

RE: kde 4 breaks kde 3 applications

Thu Jan 15, 2009 2:11 pm
To add a new path to an environment variable:
Code: Select all
export VARIABLE=/new/directory:$VARIABLE


User avatar
ash
Registered Member
Posts
280
Karma
0

RE: kde 4 breaks kde 3 applications

Thu Jan 15, 2009 2:53 pm
LinuxIsInnovation wrote:To add a new path to an environment variable:
Code: Select all
export VARIABLE=/new/directory:$VARIABLE



if i run it before startx it wont get override by kde default settings later ?
User avatar
sayakb
Administrator
Posts
1973
Karma
12
OS

RE: kde 4 breaks kde 3 applications

Thu Jan 15, 2009 3:53 pm
It shouldn't ideally. You can add the path line to your ~/.bashrc as well.




Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]