I found this on the news groups - it's very helpful stuff . . .

Maybe it'll help with the packaging  . . .

Cheers,
R.Fox
--- Begin Message ---
After installing KDE3 from the Mandrake RPMs available on the kde.org
mirrors, I updated with Texstars rebuilt RPMs.  (That second step is not
necessary, but Tex is known for building high quality packages compiled
with aggressive optimizations.  I have never had a problem with them, so I
use them whenever they are available.)

I did the original install of KDE3 alongside my 2.2.2 install by using rpm
-ivh, when I updated to Tex's rebuilt packages, I used rpm -Fvh to upgrade
only those packages he changed.

When I restarted X in runlevel 5, I noticed that I was still using the KDM
from kde2.2.2.  An entry was created in the session list for KDE3 which
loaded KDE3 and created a .kde3 directory.  However, when I selected the
original KDE entry, KDE3 loaded using all of the settings from the
KDE2.2.2 install. I didn't want this to happen.  I wanted KDE2.2.2 to
start when KDE was selected.

It turns out that the KDE install somehow updated the PATH environment
variable, placing /opt/kde3/bin in front of everything else.  This caused
the KDE3 binary to be found first when running startkde.  After doing some
poking around, I discovered that /etc/profile.d/kde3.sh was the script
that was resetting the path.  I changed the first line in it from:

export PATH="/opt/kde3/bin:$PATH"

to:

export PATH="$PATH:/opt/kde3/bin"

To get the system to use the KDM from KDE3, I changed the last line of my
/etc/inittab file from the default of

x:5:respawn:/etc/X11/prefdm -nodaemon

to

x:5:respawn:/opt/kde3/bin/kdm -nodaemon

Now when choosing KDE from the KDM menu, KDE2.2.2 loads using ~/.kde and
when choosing KDE3 from the KDM menu, KDE3 loads using ~/.kde3.

Finally, I was getting annoyed because KDE3 handles the desktop a litlle
differently than KDE2.  Every time I logged back in to KDE2, my icons
would be all moved around.  I solved this problem by creating a copy of my
~/Desktop to ~/Desktop_KDE3 and changed the desktop path for KDE3 in the
KDE control center => LookNFeel => Desktop to the ~/Desktop_KDE3 directory
that I just created.

Now, both versions of KDE are running using different settings directories
and different desktops.

Hope this helps those of you that are having problems getting KDE2.2.x and
KDE3 to play nice together.  Just like with my kids, I had to separate
them completely so they could co-exist in peace.

/g

--- End Message ---

Reply via email to