Creating and saving a 'default' company Desktop Activity

I would like to create a ‘default’ company Desktop that would include various apps that we use, eg Opera, Twinkle, Fax, Konqueror, Kmail and our own PoS application. I would then like to store this and retrieve it whenever I add a new member in my company.

At the moment, I have to set up a new user, then manually create his Desktop and load all the apps. It would be so much easier if I could just replace his new default Desktop with ‘one I made earlier’! It would also save me having to visit a remote site, to do the same.

I know I can create a new Desktop ‘Activity’ that would include all these apps, but where is it stored and can I simply paste the Activity into a new users home directory? (Or is there a better, easier way on doing this?)

As this is about a desktop, does it matter which DE to use for the solution, or doesn’t it matter if this can be made working in KDE, Gnome or any other?

Sorry, should have been more specific. We use KDE.

I do not know if there is a more sophisticated solution, but I would try to create a “master” user first where I would configure the desktop to wish. But without filling in any personal credentials (like e-mail addresses, login to mail servers, etc.). Then you can copy all in ~/.kde4 (you could make a tarball out so it is one copmpressed file) to a new users home directory. Do not forget to chmod user:group all of it to the new user.

I guess that some testing and trimming is needed to see if you should rule out some of the files in .kde4, but that is what I might try.

What Henk describes is about what I did at a customer, NIS/NFS server, 5 clients. I created a first user account, logged in on the account, set up nothing but desktop appearance, logged out, copied the user’s ~/.kde4 outside /home, created the “real” user accounts, copied the copy into their homedirs, and that’s it. IIRC there’s also kiosk-tool to manage KDE profiles. I’ll give it a quick glance, maybe it can make things easier, better managable.

I suppose copying and pasting the /.kde4 directory would be a possibility, especially if someone with experience could indicate which file(s) is/are specific to the Desktop, or better still the ‘Activity’ created.

I am looking for a simple, uncomplicated solution and creating an Activity within my own Desktop would have been perfect, as then I could very quickly and conveniently edit it, when required.

I think Knurpht and I do not think in these GUI like terms of doing things as system manager. The above copying of things is more with cp and/or tar and the like.

Indeed. This is how I did it, schematically:


mkdir /data/DOTKDE
su
cp -r /home/USER_1/.kde4 /data/DOTKDE

Data from the first user is copied.


su -c 'cp -r /data/DOTKDE/.kde4 /home/USER_2 && chown USER_2 /home/USER_2/.kde4 -R'
su -c 'cp -r /data/DOTKDE/.kde4 /home/USER_3 && chown USER_3 /home/USER_3/.kde4 -R'
su -c 'cp -r /data/DOTKDE/.kde4 /home/USER_4 && chown USER_4 /home/USER_4/.kde4 -R'
su -c 'cp -r /data/DOTKDE/.kde4 /home/USER_5 && chown USER_5 /home/USER_5/.kde4 -R'
su -c 'cp -r /data/DOTKDE/.kde4 /home/USER_6 && chown USER_6 /home/USER_6/.kde4 -R'

Mind, a background image would have to be outside the /home in a place accessible for all users. You could store the image etc in the first user’s .kde4.

Don’t have much time atm, but do take a look at kiosktool. Had a quick look at it, promising.

I once has a short look at the specs. Looked very sophisticated, but I did not hear from it much more. Is it still alive and kicking?

It would be a wonderfull thing to lock in users in a commercial application environment (they not being able to chenge their config and only being able to run the applications (e.g. transaction programs in a travel agency).

On 03/01/2013 11:06 AM, hcvv pecked at the keyboard and wrote:
> Knurpht;2531030 Wrote:
>> Don’t have much time atm, but do take a look at kiosktool. Had a quick
>> look at it, promising.
> I once has a short look at the specs. Looked very sophisticated, but I
> did not hear from it much more. Is it still alive and kicking?
>
> It would be a wonderfull thing to lock in users in a commercial
> application environment (they not being able to chenge their config and
> only being able to run the applications (e.g. transaction programs in a
> travel agency).
>
>
You might want to take a look at /etc/skel to see if your setup can be
added there.

Ken

Good idea, it is getting more and more professional :slight_smile:

I use kiosktool for web browsers that customers can use in the shop, to view our website. Seems to work OK. :slight_smile:

I like Knurpht’s idea, will give it a try this weekend. Only disadvantage is I can’t just hop to an alternative Desktop Activity on my own PC and modify it. As I said before, that would be the ideal solution, especially as I would like to create different Desktops for different locations.

Perhaps ‘kensch’ could elaborate on his reference to /etc/skel? I’m not familiar with /etc/skel

On Sat, 02 Mar 2013 06:46:01 +0000, YeboElectronics wrote:

> Perhaps ‘kensch’ could elaborate on his reference to /etc/skel? I’m not
> familiar with /etc/skel

http://www.linfo.org/etc_skel.html

It’s a way to create default files/directories when new users are created.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C