How does the default users profile in KDE4 get created

21 views
Skip to first unread message

eportel6607

unread,
Oct 5, 2010, 10:54:49 AM10/5/10
to ul-developers


Hi guys,
I've looked in many places and still can't find exactly what I'm
looking for. I'm finally at the point where I'm ready to create my
default user's profile for KDE. Doing as I did before in KDE3.5
doesn't work very well at all. I know that Jman has done this and I
was hoping he could share what is being done.

What I've done so far is create a "temp" user and create that user's
profile the way that it needs to be as the default. I then (as root)
copied the entire contents of the "temp" profile to /etc/skel and
changed the permissions/ownership except for the /home/temp/.kde4
contents. In this folder I greped any user specific data and TRIED to
use a macro/variable for the user's home, such as "$HOME or
"~"...neither seem to work. So although most of the profile looks ok
some of the user specifics are pointing at the "temp " user and not
the current user. I managed to fix some user specific items. For
example the menu's (kickoff) Computer category has a place named
"Home" it it actually is the recently created user's Home...how ever
there is a panel icon for home as well and that's still points to the
"temp" user's home instead of the current user.

I think the whole problem stems around the fact that KDE wants to
place (and overwrite) the existing /etc/skel.kde4 configuration
directory. Is there a way (maybe in the init files) to disable KDE
taking a copy of the config files (from /usr/share/config) and moving
it to the new users profile/home when a new user is created?

I've looked on kde with different search terms but really can't seem
to find exactly what I need.
I've also looked at my notes from KDE.3.5 with dolphin as our file
manager but things have changed so much that it's almost useless.

Thanks guys,
Chris

Jeremiah Summers

unread,
Oct 5, 2010, 1:02:43 PM10/5/10
to ul-dev...@googlegroups.com

I think we've been over this, if not I'm sorry but I'm pretty sure I
have told this too multiple people.

http://groups.google.com/group/ul-developers/msg/fbab7bb4fa9038d3?

You're making this way too hard. KDE doesn't use the .skel folder,
.skel should not be used for any DE as anything that gets placed in
the .skel folder will not get updated with the DE, that's bad, or
unistnalled if the DE gets uninstalled, that's bad too. For KDE the
default files that get copied over to a new users folder is found in
/etc/kde4/ as etc is the default folder for system configuration
files. Also a lot is now done by scripting in the initial first time
user script is in /usr/share/kde4/env/ to setup the default
environment is in /usr/share/apps/plasma and
/usr/share/apps/plasma-deskop eventually the goal is to have
everything done by Javascript and bash scripts. If you look at the
spec for the kdebase4-Unity package in SVN it will tell you where the
files are being installed.

Jeremiah

eportel6607

unread,
Oct 5, 2010, 3:42:59 PM10/5/10
to ul-developers


On Oct 5, 12:02 pm, Jeremiah Summers <jmiah...@gmail.com> wrote:
Jeremiah,
Thanks for the info. When you refer to ".skel" are you referring to
the /etc/skel or the ".skel" in each users home dir?
Just to the confirm. Some the contents of /etc/kde4/ is a "colors",
kde and ui directories and quite a few config. files starting with
"accept-language and ending with "wallpaper.knsrc". Does that sound
correct to you?
Reply all
Reply to author
Forward
0 new messages