Can we please have an updated and confirmed working "build KDE from source as separate user"?
Shaun Reich
shaun.reich at kdemail.net
Mon Jan 2 00:28:16 GMT 2012
On Sun, Jan 1, 2012 at 7:19 PM, Thomas Lübking
<thomas.luebking at gmail.com> wrote:
> Since you can run applications from textshells this means your ~/.profile is
> not invoked by kdm or whatever sets up the session for you
> -> put the exports somewhere into ~/.kde/env
Right, good point. Another way that you may want to try is making your
own ~/.xsessionrc (believe that's the name), which sets up the
variables appropriately. Then you can go into kdm under your regular
user, select the session type, ("Custom" for your master session, or
"kde4"(for your distro one)).
The way I see it, the best methods are as follows:
They're technically mutually exclusive...
(0) Run KDE master as your main session. Obviously this has some
problems if this is a production machine. But I've used it for a while
(not currently though, because I'm trying not to ;)
(1) Run KDE from your distro as usual, when you want to run master
applications, open a shell and run the function "runmaster", which is
just a function on my system which exports the proper vars for that
one shell. It makes things quite convenient, you can even run
plasma-desktop from it, provided you kill your main one for a bit. In
fact, that's how I currently test plasma-desktop changes of mine. I'll
give you the shell snippet if you are interested.
These options are meant for one user. But of course you can use more
than one user...I just don't see the point, it ends up with some very
hairy issues. e.g. I had to set proper ACL's for it, so I could edit
source files and have the proper perms to go to and fro.
--
Shaun Reich,
KDE Software Developer (kde.org)
More information about the kde-core-devel
mailing list