This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Redefine KDEHOME

Tags: [solved] [solved] [solved]
(comma "," separated)
greenif
Registered Member
Posts
3
Karma
0
OS

Redefine KDEHOME

Sat Sep 11, 2010 8:10 pm
How and where I can redefine $KDEHOME variable?
For customize directory where KDE store settings.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Redefine KDEHOME

Sat Sep 11, 2010 9:31 pm
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]
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Redefine KDEHOME

Sat Sep 11, 2010 9:53 pm
the command would be: export $KDEHOME=xxxxxx
and you should test it after restarting KDE with: echo $KDEHOME


OpenSuse Leap 42.1 x64, Plasma 5.x

greenif
Registered Member
Posts
3
Karma
0
OS

Re: Redefine KDEHOME

Sun Sep 12, 2010 10:31 pm
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
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Redefine KDEHOME

Mon Sep 13, 2010 6:38 am
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]
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Redefine KDEHOME  Topic is solved

Mon Sep 13, 2010 11:16 am
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


OpenSuse Leap 42.1 x64, Plasma 5.x

greenif
Registered Member
Posts
3
Karma
0
OS

Re: Redefine KDEHOME

Mon Sep 13, 2010 4:15 pm
Yes it work for me, very big thanks!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]