![]() Registered Member ![]()
|
Hi,
I would like to add a directory to store shared components between all users/distro/network. Let's say I create a directory called /kde and in it themes, walpappers, prop files, .desktop files instead of having it stored in /usr /etc or users .kde(4) directory. If I want to have the users having access to this ressources, what should I do ? Adding some environements variables on user basis or modify system files ? Also I notice that most .desktop files refers to icons without path, I guess there is a default search path for icons. What is this search path and how to configure ? Thanks for your good advices. |
![]() Administrator ![]()
|
This is based upon a series of environment variables.
Assuming that "/kde" is the path where the addons are located on all machines on this network, and "/usr" is where KDE is installed on all machines, you need to set the following environment variables prior to KDE startup.
The most standard way of setting the environment as part of the KDE startup process is in ~/.kde/env/ (which may not exist, and the file containing the above must be executable and have a .sh extension).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks a lot bcooksley.
I will give a try to that. Setting up that in user env can be ok or maybe in kdm startup files. |
![]() Registered Member ![]()
|
Hi,
Just to summarise what I have done in case somebody want to achieve same thing : 1 - Create a script ~/.kde4/env/local-path.sh (data/apps/KDE is where I set all ressources)
2 - Create a directory tree like in .kde4
Then I can access this ressources from any account that has /data/apps/KDE mounted. Thanks for help |
![]() Administrator ![]()
|
I've now marked this as solved.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot]