--===============2520155180900581061== Content-Type: multipart/signed; boundary="nextPart1573310.XhIs6mT5pX"; micalg="pgp-sha256"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable --nextPart1573310.XhIs6mT5pX Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Monday, September 10, 2012 17:29:10 Dmitry wrote: > 10.09.2012 16:30, Tomaz Canabrava =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > 2012/9/10 Dmitry: > >> Hello! > >>=20 > >> I've built KDE! The next step is to run KDE. I've found wiki pages= : > >>=20 > >> http://techbase.kde.org/Archive:Getting_Started/Run/Nested_Session= /en > >> http://techbase.kde.org/Archive:Getting_Started/Run/Full_Session > >>=20 > >> but they are old and they have been removed. I use kdesrc-build to= build > >> KDE. How can I run KDE and don't brake my system KDE (configs, etc= )? > >=20 > > Did you build your the whole kde? > > The thing I did to run without breaking my system kde settings was = to > > copy the kde.desktop file for the KDM/GDM greeters and modifying i= t a > > bit, there's one line that says 'run=3D/usr/bin/startkde' , change = that > > to 'run=3D/your/kdesrc-build/installation/startkde' >=20 > Thank you. I've built base KDE libs, Plasma and some KDE applications= . > What do you think about KDEHOME environment variable? As I know it > doesn't point to real home directory. But I don't know how to set > KDEHOME in ~/.kdesrc-buildrc and startkde doesn't set it. So, I'm > afraid, that running of startkde without setting of KDEHOME can cause= > problems. There is (old) documentation for starting up a custom-built KDE at=20 http://kdesrc-build.kde.org/documentation/environment.html The basic idea is to figure out what file is used to startup a login se= ssion.=20 KDM has an option to let you configure which desktop to login to (usual= ly read=20 from a directory like /usr/share/apps/kdm/sessions). If you have an executable file in your home directory called ".xsession= ", KDM=20 should give you an option to login to a "Custom" desktop (where "Custom= " just=20 means user-defined). .xsession is a regular shell script, where you can set environment vari= ables=20 and then run "startkde" to continue startup. I will probably find a way= to=20 automatically install an appropriate setup script at some point. :-/ In the meantime, this file is where you would put the environment varia= ble=20 defines mentioned in the page I listed. Something like: #!/bin/sh # Change these to the install prefix for each (if you modified that) export QTDIR=3D"$HOME/qt4" export KDEDIRS=3D"$HOME/kde" # Execute custom-installed KDE programs by default export PATH=3D"$KDEDIRS/bin:$QTDIR/bin:$PATH" # Link to custom-installed KDE libraries by default export LD_LIBRARY_PATH=3D"$KDEDIRS/lib:$QTDIR/lib:$LD_LIBRARY_PATH" # Tell Qt where to find KDE-installed plugins export QT_PLUGIN_PATH=3D"$KDEDIRS/lib/kde4/plugins:$QT_PLUGIN_PATH" # Might be needed if you try to run 'make' from a kdesrc-build build di= rectory export PKG_CONFIG_PATH=3D"$KDEDIRS/lib/pkgconfig:$QTDIR/lib/pkgconfig: $PKG_CONFIG_PATH" # Act appropriately if LD_LIBRARY_PATH is not already set. if [ -z $LD_LIBRARY_PATH ]; then export LD_LIBRARY_PATH=3D"$KDEDIRS/lib" else export LD_LIBRARY_PATH=3D"$KDEDIRS/lib:$LD_LIBRARY_PATH" fi export KDEHOME=3D"${HOME}/.kde4" # Create it if needed [ ! -e ~/.kde4 ] && mkdir ~/.kde4 # Add XDG-compliant paths, for the K Menu, installed programs, etc. # See http://standards.freedesktop.org/basedir-spec/basedir-spec-latest= .html export XDG_DATA_DIRS=3D"$KDEDIRS/share/:$XDG_DATA_DIRS" # Startup the rest of KDE exec "$KDEDIRS/bin/startkde" ----------- So, basically you're trying to setup the "environment" to locate the ne= wly- installed libraries, programs, etc., and then you run "startkde" to con= tinue=20 with the rest of the startup sequence. Regards, - Michael Pyne --nextPart1573310.XhIs6mT5pX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAABCAAGBQJQTm3WAAoJEAuvDJx7aunyR6MP/0+Cd29o+pJHCXN2e1cnGKpg QuVwarN9qIx3r+w4ZnERaFp2VtaApCEwNYx/7rkxQ2pbvB066Gj+8lCHoUZjEhg2 C0RA6u+2cg/pihHcYEhGikq6FgEXAiMuL5sXWpHYFoMdWc9cmrpwTTbvIXRpKN7Z O3h2j3nR6NkCKUQJBk4kWkd6c9MEvZA66MBOOQon5OxwoEKtPAiSQuLxkqR0yrgp F/izPtqzQDV6Lo+UdX6KNGF03UdUUhqGw+/cbAUp92XA2VbpULeAfRFy3V22BeFk zXur+Bk5/Kmvu8P/mHgwmvP3XIpkLorPpxOT6GVXqt0C1z5x0JCwZ/Xu0rBCvoZ2 V0V3NPS7nFZ46057f0xFGVFdWWk19cdxgAWHNF0ickN0XHQX0NWmEqPIWCMe05su ojDIGpQHseiDHsZjlku1T3gVEliLS7KyTjrtUqr54rbz1Iqv9ZXenrHV5vv5PgJN g2SpLWjGBNp5RzM2yTWK8xLqBwZSClQwhcc2KcJL+ds1zNoyDI+Gm1f3ismH+8kK DdQHLVvuF1Qfnd7/27dqJ4NHSksRF7w+ZkQPjWFd2xizeXOgeTL/BYJjzPKDgSLQ hZD9JBxa8fjUHxwGAM8XMEmu1sP6KC4cMWdvswxTR70gZMfnFtmRsIAyudEClpzO Rk2ZTDr9BxuaxLHb4+wh =9tIf -----END PGP SIGNATURE----- --nextPart1573310.XhIs6mT5pX-- --===============2520155180900581061== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============2520155180900581061==--