Customising KDE for all users

How do I stop the folder view widget starting for all users by default
( I don’t care if they later use it themselves )

Ta

Mal

So, if you created a default user, with the kde settings you want, I wonder why you could not copy the two hidden files ~/.kde & ~/.kde4 from the default user to the new user and get the same results as the default? These files belong to the users group and to the user that they are copied from so as root, you must change the user name to that of the new user, leaving the group the same.

Thank You,

I do not think that you have actually tried your suggestion.

There is no ~/.kde any more unless using KDE-3.

The problem is that the files in ~/.kde4 and ~/.local contain multiple absolute/canonical path references; e.g.
in “~/.kde4/share/config/konsolerc”
there is “Favorites=/home/username/.kde4/share/apps/konsole/Shell.profile”.

An approach I used with KDE3 was to create a specimen user configuration, then use sed to change all the “/home/specimen” strings to “~”, “hostname” to “$HOSTNAME”, etc. then use a copy of that home folder as the skel when creating new users.

Now I just run a script to modify a default setup. This has the disadvantage that it requires a first graphical login to create ~/.kde4 etc.
In this case delete the lines “plugin=folderview” from " /home/newuser/.kde4/share/config/plasma-desktop-appletsrc"

How do I stop the folder view widget starting for all users by default
( I don’t care if they later use it themselves )

If you want to effectively change the default new user config, which occurs whenever ~/.kde4 is found not to be present (ie it gets recreated), then, you can copy your customised .kde4 (without folder view widget and anything else you’d like) to /etc/skel/.kde4 directory. Now when a new user is created, it will come with all the settings inherited from the custom /etc/skel.kde4 directory, instead of the original defaults.

I’ve done this previously, and it works.

On 01/05/2012 07:26 AM, deano ferrari wrote:
>
> /etc/skel/.kde4

Deano gives the correct answer…(edit the skel to be the way you like
and it will thereafter be used as the ‘skeleton’ to initially form the
~/.kde4 of every newly created user…)


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

Yes you can edit /etc/skel, or use one of a range of custom skels when creating a new user. But you cannot just copy .kde4 from a working user into a skel without the new user being asked for the “default” user’s password at first login, and attempting to write to the default user’s home folder, nepomuk error messages etc.

But this should copy the Desktop appearance of user to the default skel
as root


cd /home/user
rsync -aR .kde4/share/config/plasma* /etc/skel/
rsync -aR .kde4/share/config/kwin* /etc/skel/

At your own risk, etc.

But you cannot just copy .kde4 from a working user into a skel without the new user being asked for the “default” user’s password at first login, and attempting to write to the default user’s home folder, nepomuk error messages etc.

Not true. All that was required was a straight copy to /etc/skel.kde4. I did this with the ‘cp -r’ command. The .kde4 directory will be copied as root and now owned by root. Then, when a new user is created via YaST, the .kde4 directory is set up, and the correct ownership is taken care of.

The method is outlined here:

Tutorials/Modify KDE Software Defaults - KDE UserBase Wiki

Many thanks to everyone… I’m currently suffering from
the lurgy so I will give this a go when I return to work.

Ta

Mal