Re: KDE3 KDE4 mix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 31 January 2008 11:47:08 am Matthew Woehlke wrote:
> Bob Stia wrote:
> > On Wednesday 30 January 2008 09:43:34 pm Matthew Woehlke wrote:
> >> Bob Stia wrote:
> >>> I did that earlier this evening and what to my surprise is that I got a
> >>> KDE4 Konqueror.    ?????  Strange !!  To satisfy my curiousity I fired
> >>> up several other apps using kdesu - kwite, gwenview, etc.  They ALL
> >>> started as KDE4 apps. So then I logged out of my user session logged on
> >>> as root and checked the apps inside the root session. They all showed
> >>> up as KDE3.5.7 Logged off as root, logged back in my user session and
> >>> retried my kdesu commands again. All KDE4 apps !!! They all worked OK
> >>> except with the limitations of the KDE4 desktop Hope that's not going
> >>> to be a problem down the road.
> >>>
> >>> Looks like a strange bug to me.
> >>
> >> Um... check what your $PATH is? It sounds like PATH is pointing to KDE4
> >> for your normal user, and KDE3 when you log in as root.
> >
> > Thanks for replying. Hadn't thought of that. You mean the other way
> > around, don't you?  No, seems that both the user and root point to
> > /opt/kde3. kde4 is in /usr/share You mean the kdesu path? Is that
> > different maybe?
>
> PATH for kdesu might not be the same as when you inspect it in e.g.
> Konsole, if that's what you mean. If you're on linux, you might try
> poking around in /proc (most reliable, but not easy - in fact, I'm not
> sure what process you would look for), otherwise using kdesu to run
> /bin/env in a terminal window might do it (not sure about that,
> though... OTOH 'xterm', with no args, might work).
>
> Anyone know how to get the environment of the KDE session? :-)
>
> > I was hoping that somebody else was seeing what I was seeing.
>
> Well, I'm not running a full KDE4 environment yet, so... :-) It
> definitely sounds like PATH for kdesu is such that it's finding kde4
> first when you don't want it to. Anyway, I would guess the fix is
> fiddling with something in either .bashrc, .bash_profile, or one of the
> GUI startup scripts (forget exactly what those are, sorry... I want to
> say $KDEHOME/env but I'm not sure). And then there's the script the
> login manager runs, which I can't find either :-(.

Thanks Matthew,

I'll keep searching around and take a look at your suggestions to see what I 
can find.  This is not a show stopper, Easy enough to live with but I just 
find it strange and has made me curious.

I did try booting into kde4 and ran $PATH for the user and root.. Each of 
their paths showed both /opt/kde3  and /user/share/kde4. If I can figure it 
out I will post to the list. Still think it is some kind of bug because of 
the mix.

Bob S
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux