Red Hat Bugzilla – Bug 52502
Skeleton KDE config not installed by startkde
Last modified: 2007-04-18 12:36:32 EDT
Description of Problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new account - with no .kde directory
2. Populate /etc/skel/.kde/
3. Log in as the new user
startkde creates .kde/share/config and sets up
selected files within it (emaildefaults and font
settings in kdeglobals, konquerorrc & kdesktoprc).
But the contents of /etc/skel/.kde aren't copied across.
The full contents of /etc/skel/.kde ought to be
installed for the new user.
/usr/bin/startkde creates .kde/share/config (line 78) *before*
checking whether to copy across /etc/skel/.kde (lines 90-92)
The second check will then automatically fail.
Creating the config directory ought to be done after copying the
template .kde (but before checking for the emaildefaults file)
This is fixed in the current version.
I've just installed RedHat Linux 7.3, and the same problem is still present.
$HOME/.kde is created (line 44 of startkde) *before* checking whether to
copy across /etc/skel/.kde (lines 56-58). So this later test always fails,
and the skeleton config is never installed.
The "mkdir -p $HOME/.kde/share/config" needs to be moved to come after
the installation of /etc/skel/.kde. I've tested this, and it does fix
it's fixed in current release