".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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 03: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.