[Bug 44920] KDEROOTHOME set incorrectly; user settings ignored

Mark Lord launchpad at rtr.ca
Mon May 15 22:34:40 UTC 2006


Public bug reported:

Binary package hint: ksmserver

The KDEROOTHOME environment variable is incorrectly set to "/root" when
logging in as superuser.  It should be "/root/.kde" instead.  This
results in the "System Settings" changes being ignored, and the KDE
Control Center stores changes in the wrong directories.  A bit of a
mess, really.

To fix it, /usr/bin/startkde should be setting a default KDEROOTHOME
variable for the root user.  This can be done in /usr/bin/startkde, by
adding one line just after where "kdehome" is set:


 kdehome=$HOME/.kde
 test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^~/,$HOME/,"`
+[ -z "$KDEROOTHOME" -a "$UID" == "0" ] && export KDEROOTHOME=$kdehome

** Affects: kdebase (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

** Attachment added: "Patch to fix /usr/bin/startkde"
   http://librarian.launchpad.net/2654201/usr_bin_startkde.patch

-- 
KDEROOTHOME set incorrectly; user settings ignored
https://launchpad.net/bugs/44920




More information about the kubuntu-bugs mailing list