I'm a sys admin on Kubuntu 11.10 machine. Where do I configure the basic config for a new user (say belonging to group "users")?
Edit 1:
I want to configure langauages – currently my new users get English and Bulgarian Languages. I want them to get English and Russian – and also to set Alt-CapsLock – to be the input-language-switching-combination.
Edit 2:
How do I configure things in
/usr/share/kde4
When I do
kdesudo systemsettings
and save configurations – only root settings got changed – not the /usr/share/kde4
ones.
Edit 3:
New user gets the /etc/skel
files controlling bash behaviour-appearence. What about the KDE new user's default files – where are they stored?
Edit 4:
Oh, I found some hints:
kde4-config --path config
gives a list of folders (separated by the colon) where KDE looks for configs. My machine responded with:
/home/boris/.kde/share/config/
/etc/kde4/
/usr/share/kubuntu-default-settings/kde4-profile/default/share/config/
/usr/share/kde4/config/
/usr/share/desktop-base/profiles/kde-profile/share/config/
It looks like third line is where KDE takes the default options. So I found these zilions of settings – but no GUI way to configure it ((.
Edit 5:
Finally, I've created a dummy user, configured it, and wrote a script which gives it's settings to a given user(s). The trick – is to chown
after one transfered the dot files from one user to another. I've tested it – it works fine.
Best Answer
I've ended writing a script which transfers dot files, and after that
chown
s it all.Edit:
I re-wrote this script in bash about three years ago. And I had been using this one for some time. However, I haven't used this script in years, and don't maintain this script anymore. I didn't reviewed this script now, but I would imagine it is not of high quality, given that I wrote it long time ago.
The basic idea is to store basic dot files on github, and make script download these and patch the username and assign proper permissions.