Difference between revisions of "Using KDE4 and KDE3 parallel"

From IT Service Wiki
Jump to: navigation, search
(Created page with 'Starting with Ubuntu 8.10 only KDE4 delivered. The old installations have KDE3. Switching between the different desktops may be a problem, because both KDE versions use '.kde' as...')
 
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Starting with Ubuntu 8.10 only KDE4 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 .bash_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>
 +
if [ -f /etc/lsb-release ];  then
 +
    . /etc/lsb-release
 +
fi
 +
 
if [[ "$DISTRIB_RELEASE"  == "8.04" ]]; then
 
if [[ "$DISTRIB_RELEASE"  == "8.04" ]]; then
 
     export KDEHOME=~/.kde3
 
     export KDEHOME=~/.kde3
Line 7: Line 11:
 
</pre>
 
</pre>
  
The old tree is hold 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 remove 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 are 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. '''Please beware''': If you have a .bash_profile your .profile will no longer used.

Latest revision as of 09:28, 6 January 2010

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 .bash_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 are 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. Please beware: If you have a .bash_profile your .profile will no longer used.