You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 17th 2004, 5:12pm

Copy .kde settings to another user

Hi,

I setup my KDE environment so the backdrop is changed and I have added a new shortcut on the kicker.

I'd like to replicate these changes to all users on the system.

I tried copying the contents of my ~.kde/share directory to the other users .kde directory.

When logging on using a target user :

- The backdrop is changed (great!)

- The new shortcut on the kicker is there, BUT :
- It has the default shortcut icon, because it tried to find the shortcut in the source home directory so it failed.

Is there any way you can replicate the kicker to other users? Maybe there is a tool for kde deployment or something?

Thanks in advance,

Best regards,

2

Friday, June 18th 2004, 6:13am

Re: Copy .kde settings to another user

Quoted

Original von Zteev

Hi,

I setup my KDE environment so the backdrop is changed and I have added a new shortcut on the kicker.

I'd like to replicate these changes to all users on the system.

I tried copying the contents of my ~.kde/share directory to the other users .kde directory.

When logging on using a target user :

- The backdrop is changed (great!)

- The new shortcut on the kicker is there, BUT :
- It has the default shortcut icon, because it tried to find the shortcut in the source home directory so it failed.

Is there any way you can replicate the kicker to other users? Maybe there is a tool for kde deployment or something?

Thanks in advance,

Best regards,


- If you have found the offending entry in the config file
(the one with the hard-coded path) you can change that to
use variable expansion:

Change [code:1]
SomeVar=/home/youruser/bla/file.gif
to
SomeVar[$ie]=${HOME}/bla/file.gif
[/code:1]
See also http://wiki.kde.org/tiki-index.php?page=Tips+and+Tricks
under section "You can have environment variables expanded in KDE config files" and http://www.kde.org/areas/sysadmin/config_file.php#shell_expansion

That way the file should work for any user. This should be manageable if the number of config files you need to copy is not too high.

- You could also make your changes in the global kde installation. See also http://www.kde.org/areas/sysadmin/fsh.php#dir_location
This may be the way to go if *all* users should share these configurations.

- There is the "kiosktool" in development. It is more about restrictions of the desktop (nailing down some setting). Maybe it can set global defaults, even immutable ones, too. Haven't tried though.


In general, the sysadmin pages at http://www.kde.org/areas/sysadmin/ can help you with these kinds of problems.