![]() Registered Member ![]()
|
How and where I can redefine $KDEHOME variable?
For customize directory where KDE store settings. |
![]() Administrator ![]()
|
You need to do this prior to KDE startup. This can be done in ~/.profile I believe.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Manager ![]()
|
the command would be: export $KDEHOME=xxxxxx
and you should test it after restarting KDE with: echo $KDEHOME |
![]() Registered Member ![]()
|
Yes it work. Thank You!
But, in this case I must redefine it for each user. Where redefine it in global? Tell you why I need it: I use two linux distro: gentoo and arch. With the same users home dirs. But I need that kde store setting per distro. And I want in one distro define: KDEHOME=~\.kde.arch in another KDEHOME=~\.kde.gentoo |
![]() Administrator ![]()
|
The only way to reconfigure it globally is by passing an argument to the kdelibs configuration process prior to compiling and installing it.
You can do this by setting "_KDE_DEFAULT_HOME_POSTFIX" to ".gentoo" on Gentoo and ".arch" on Arch. This needs to be done on the CMake step of the build procedure. Eg: cmake -D_KDE_DEFAULT_HOME_POSTFIX=.gentoo
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Manager ![]()
|
I think (but since I don't use either you should investigate further)
For Gentoo set variables in the /etc/env.d Directory see 5.b. Defining Variables Globally http://www.gentoo.org/doc/en/handbook/h ... t=2&chap=5 For Arch it would be /etc/profile |
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]