Difference between revisions of "Using KDE4 and KDE3 parallel"

From IT Service Wiki
Jump to: navigation, search
Line 1: Line 1:
Starting with Ubuntu 8.10 only KDE4 is delivered. The old installations have KDE3. Switching between the different desktops may be a problem, because both KDE versions use '.kde' as their configuration directory. With a simple version check in the .bachrc (if you are using the bash) it is possible to maintain two different KDE setups. Add the following code snippet to your .bashrc:
+
Starting with Ubuntu 8.10 only KDE4 is delivered. The old installations have KDE3. Switching between the different desktops may be a problem, because both KDE versions use '.kde' as their configuration directory. With a simple version check in the .bach_profile (if you are using the bash) it is possible to maintain two different KDE setups. Add the following code snippet to your .bash_profile:
  
 
<pre>
 
<pre>
Line 11: Line 11:
 
</pre>
 
</pre>
  
The old tree is held under '.kde3' an may be deleted if no more KDE3 installations a alive. Especially this technique is useful if you are working on an new host and want to use the [[nxserver]] for remote logins. Login server is running Ubuntu 8.04 and will do it for a while.
+
The old tree is held under '.kde3' an may be deleted if no more KDE3 installations a alive.  
 +
 
 +
 
 +
Especially this technique is useful if you are working on an new host and want to use the [[nxserver]] for remote logins. Login server is running Ubuntu 8.04 and will do it for a while. For normal X-Session this works also .bashrc or .profile. For NX Sessions only the .bash_profile is evaluated.

Revision as of 08:15, 15 July 2009

Starting with Ubuntu 8.10 only KDE4 is delivered. The old installations have KDE3. Switching between the different desktops may be a problem, because both KDE versions use '.kde' as their configuration directory. With a simple version check in the .bach_profile (if you are using the bash) it is possible to maintain two different KDE setups. Add the following code snippet to your .bash_profile:

if [ -f /etc/lsb-release ];  then
    . /etc/lsb-release
fi

if [[ "$DISTRIB_RELEASE"  == "8.04" ]]; then
    export KDEHOME=~/.kde3
fi

The old tree is held under '.kde3' an may be deleted if no more KDE3 installations a alive.


Especially this technique is useful if you are working on an new host and want to use the nxserver for remote logins. Login server is running Ubuntu 8.04 and will do it for a while. For normal X-Session this works also .bashrc or .profile. For NX Sessions only the .bash_profile is evaluated.