Re: KDE4.4 desktop customization for multiple users.
On 31/07/11 01:10, John A. Sullivan III wrote:
> On Sat, 2011-07-30 at 14:14 +0200, Hans-J. Ullrich wrote:
>> Am Samstag, 30. Juli 2011 schrieb Sthu Deus:
>>> Thank You for Your time and answer, Hans:
>>>> Create a default user and configure it to your needs. Then copy
>>>> everything of your settings to /etc/skel. When a new user is created,
>>>> everything from /etc/skel will be transferred to the new user profile.
Copying the required files takes 40 seconds (see further down).
>>>
>>> So I have done and found a problem w/ several links to /tmp dir
>>> having the username in its linking
You don't need any of those directories.
>>>
>>> and
>>>
>>> some session information that is
>>> stored in a dir. and files of user KDE config.s.
>>>
>>> What to do w/ this?
>> Hmm, I never tested this, but when yoiu create a new user, all files from
>> /etc/skel should be transferred to the new user's /home. Of course all fils
>> must be owned by the user. At first login there are indeed some files created in
>> /tmp. Reboot is clearing this stuff, but a script should do it as well.
>>
>> Please do not just simply copy the files to of the "master"-user to /etc/skel,
>> I suggest to use rsync for that. With rsync you are also able to transfer
>> symlinks.
There are no symlinks required. Don't use rsync.
<snipped>
> I think that's the hard way. Using KIOSK is probably easier and more
> consistent (e.g., KDE does not normally read all the bash profile/rc
> scripts). Alas, I'm flat out today through Monday so I don't think I'll
> have time to answer the previous question about how we do it until some
> time next week - John
I'd appreciate a link to a working KIOSK for KDE 4.x - I thought it had
ceased with KDE 3.x...
I usually just selectively copy as root from the "model user"/.kde/
so that /etc/skel look like:-
http://b2.ge.tt/835IuO6/skel.png
NOTE: with the exception of the /apps/dolphin directory the complete
contents of all the other directories is copied.
Works fine -
here's how it looks on log in for a new user:-
http://b3.ge.tt/835IuO6/manual_kiosk.png
I never bothered to work out how to avoid running kaboom - which just
takes the new user a couple of clicks to get past. If you mix things
from other DE's your mileage will vary.
Hope this helps reduce unnecessary complications. Feedback appreciated.
Cheers
--
“Children are smarter than any of us. Know how I know that? I don't know
one child with a full time job and children.”
~ Bill Hicks
Reply to: