".config" and ".kde" folders are being created under root directory (Slack Current)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This sounds like a carry over from KDE 3.5.10. In 3.5.10 (and Trinity too). Using the kde-config command as root will create a .kde directory in the system root directory.
Looks like kde4-config at one time had the same problem.
I use kde-config in my rc.local script to determine the version of kde I am using. That script, of course, runs as root. My fix is sloppy. I have this in my rc.local and rc.shutdown scripts:
Code:
# Workaround of a kde-config bug.
if [ -d /.kde ]; then
rm -fr /.kde
fi
if [ -d /.kde3 ]; then
rm -fr /.kde3
fi
It doesn't happen here when I use kde4-config as root, but e.g. when I go to "System settings>Login Screen>Convenience>Enable Auto-login", click "Apply" and enter my password.
Last edited by piratesmack; 03-11-2011 at 02:34 PM.
I'm testing Current and KDE. After much playing around with Systems Settings, finally I got around to configuring Dolphin. In the system root directory I saw the following:
Yes, I was playing around in a sandboxed virtual machine as root, which is the only way those directories and file could be created in the system root tree.
I don't know at this point exactly what caused that to happen. As reported in the bug report, I can confirm that using with the Date/Time applet will create the .config and .kde directories, but I don't know what caused the .directory file to be created. I suppose anybody using KDE4 who is bothered by this will need to expand my snippet posted above to include .config and .directory too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.