Archive:Getting Started/Run/Full Session: Difference between revisions
Neverendingo (talk | contribs) m (Text replace - "<code ini>" to "<syntaxhighlight lang="ini">") |
|||
Line 11: | Line 11: | ||
or you can can add it to your login manager. If you are using KDM (or a compatible login manager) this is done by creating a .desktop file in either {{path|`kde-config --prefix`/share/apps/kdm/sessions/}} or in {{path|/usr/share/xsessions/}}. The easiest thing to do is to copy an existing {{path|kde.desktop}} file and name it {{path|kde4.desktop}}. Open this new .desktop file in a text editor and change the <tt>Exec</tt>, <tt>TryExec</tt> and <tt>Name</tt> entries to look something like this: | or you can can add it to your login manager. If you are using KDM (or a compatible login manager) this is done by creating a .desktop file in either {{path|`kde-config --prefix`/share/apps/kdm/sessions/}} or in {{path|/usr/share/xsessions/}}. The easiest thing to do is to copy an existing {{path|kde.desktop}} file and name it {{path|kde4.desktop}}. Open this new .desktop file in a text editor and change the <tt>Exec</tt>, <tt>TryExec</tt> and <tt>Name</tt> entries to look something like this: | ||
< | <syntaxhighlight lang="ini"> | ||
Exec=$HOME/kde/bin/startkde | Exec=$HOME/kde/bin/startkde | ||
TryExec=$HOME/kde/bin/startkde | TryExec=$HOME/kde/bin/startkde | ||
Line 25: | Line 25: | ||
this | this | ||
< | <syntaxhighlight lang="ini">kdehome=$HOME/.kde</code> | ||
to this | to this | ||
< | <syntaxhighlight lang="ini">kdehome=$HOME/.kde4</code> | ||
or paste this | or paste this | ||
< | <syntaxhighlight lang="ini"> | ||
export KDEDIR=`kde4-config --prefix` | export KDEDIR=`kde4-config --prefix` | ||
export LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH | export LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH |
Revision as of 20:37, 29 June 2011
Getting_Started/Run/Full_Session
Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
Full KDE 4 session
To run a full KDE 4 desktop environment session, you can either start it from the command line as you normally would, with something like this:
X :1 & export DISPLAY=:1 startkde
or you can can add it to your login manager. If you are using KDM (or a compatible login manager) this is done by creating a .desktop file in either `kde-config --prefix`/share/apps/kdm/sessions/ or in /usr/share/xsessions/. The easiest thing to do is to copy an existing kde.desktop file and name it kde4.desktop. Open this new .desktop file in a text editor and change the Exec, TryExec and Name entries to look something like this:
<syntaxhighlight lang="ini"> Exec=$HOME/kde/bin/startkde TryExec=$HOME/kde/bin/startkde Name=KDE4
Replace $HOME/kde in the example above with the prefix you are installing KDE4 into.
After restarting the login manager (Alt+e in KDM) this new entry should appear in the sessions menu.
You might have to edit your startkde scripts, ie: change
this <syntaxhighlight lang="ini">kdehome=$HOME/.kde to this <syntaxhighlight lang="ini">kdehome=$HOME/.kde4 or paste this <syntaxhighlight lang="ini"> export KDEDIR=`kde4-config --prefix` export LD_LIBRARY_PATH=$KDEDIR/lib:$LD_LIBRARY_PATH export PATH=$KDEDIR/bin/:$PATH export KDEHOME=~/.kde4 on top.