Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
Let's say I have different computers or test machines that not necessary runs the same KDE version (e.g different Fedora releases), or just want different KDE setup on those machines. I want all the machine to mount the same home directory from NFS server so that I have access to all my files, but I want the different machines to use different KDE config directory: e.g. ~/.kde_machine1, ~/.kde_machine2, etc. If this is possible, how do I do it ?
Thanks. AC
If accessing your data files is the aim wouldn't it be simpler to have a local home on each computer for configs etc. and have a data directory on the server for your files?
On 25 March 2011 08:21, Armelius Cameron armeliusc@gmail.com wrote:
Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
Let's say I have different computers or test machines that not necessary runs the same KDE version (e.g different Fedora releases), or just want different KDE setup on those machines. I want all the machine to mount the same home directory from NFS server so that I have access to all my files, but I want the different machines to use different KDE config directory: e.g. ~/.kde_machine1, ~/.kde_machine2, etc. If this is possible, how do I do it ?
Thanks. AC _______________________________________________ kde mailing list kde@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org
On Thursday, March 24, 2011 05:44:05 pm Jim Dean wrote:
If accessing your data files is the aim wouldn't it be simpler to have a local home on each computer for configs etc. and have a data directory on the server for your files?
Well yes, but I also wanted to possibly try different version of KDE on the same machine (like the alpha release of F15 with KDE 4.6) and I don't necessarily want to create different home directories just to start / try with a fresh config.
Thanks AC
On 25 March 2011 08:21, Armelius Cameron armeliusc@gmail.com wrote:
Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
On 03/25/2011 08:38 AM, Armelius Cameron wrote:
On Thursday, March 24, 2011 05:44:05 pm Jim Dean wrote:
If accessing your data files is the aim wouldn't it be simpler to have a local home on each computer for configs etc. and have a data directory on the server for your files?
Well yes, but I also wanted to possibly try different version of KDE on the same machine (like the alpha release of F15 with KDE 4.6) and I don't necessarily want to create different home directories just to start / try with a fresh config.
to confirm what was mentioned elsewhere in the thread, you'll want to experiment with KDEHOME and possibly KDEDIRS environment variables.
See also, http://techbase.kde.org/KDE_System_Administration/Environment_Variables for gory detail.
-- Rex
On Friday, March 25, 2011 09:41:04 am Rex Dieter wrote:
On 03/25/2011 08:38 AM, Armelius Cameron wrote:
On Thursday, March 24, 2011 05:44:05 pm Jim Dean wrote:
If accessing your data files is the aim wouldn't it be simpler to have a local home on each computer for configs etc. and have a data directory on the server for your files?
Well yes, but I also wanted to possibly try different version of KDE on the same machine (like the alpha release of F15 with KDE 4.6) and I don't necessarily want to create different home directories just to start / try with a fresh config.
to confirm what was mentioned elsewhere in the thread, you'll want to experiment with KDEHOME and possibly KDEDIRS environment variables.
See also, http://techbase.kde.org/KDE_System_Administration/Environment_Variables for gory detail.
Thanks for the reference Rex. This might be handy at some point.
AC
Am 24.03.2011 22:21, schrieb Armelius Cameron:
Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
Let's say I have different computers or test machines that not necessary runs the same KDE version (e.g different Fedora releases), or just want different KDE setup on those machines. I want all the machine to mount the same home directory from NFS server so that I have access to all my files, but I want the different machines to use different KDE config directory: e.g. ~/.kde_machine1, ~/.kde_machine2, etc. If this is possible, how do I do it ?
why not using bind-mounts in /etc/fstab?
* Leave the folder empty * put your .kde for every setup in a dedicated folder * /pys-folder /home/username/.kde none bind
this way you are totally independent and no line code in any software must be changed - use the unix-capabilities you have :-)
On Thursday, March 24, 2011 05:46:13 pm Reindl Harald wrote:
Am 24.03.2011 22:21, schrieb Armelius Cameron:
Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
Let's say I have different computers or test machines that not necessary runs the same KDE version (e.g different Fedora releases), or just want different KDE setup on those machines. I want all the machine to mount the same home directory from NFS server so that I have access to all my files, but I want the different machines to use different KDE config directory: e.g. ~/.kde_machine1, ~/.kde_machine2, etc. If this is possible, how do I do it ?
why not using bind-mounts in /etc/fstab?
- Leave the folder empty
- put your .kde for every setup in a dedicated folder
- /pys-folder /home/username/.kde none bind
this way you are totally independent and no line code in any software must be changed - use the unix-capabilities you have :-)
I have the following in my .bash_profile
if [ -e /etc/fedora-release ]; then release=$(awk '{print $3}' /etc/fedora-release) FC=.kde_fc${release} elif [ -e /etc/redhat-release ]; then release=$(awk '{print $7}' /etc/redhat-release) FC=.kde_rhel${release} else FC=.kde fi export KDEDIR=$HOME/${FC} export KDEHOME=$HOME/${FC}
This lets me have do pretty much what you are asking for. The value for FC doesn't seem to be very important, as long as its uniquely determined by whatever criteria you wish to use.
On Thursday, March 24, 2011 06:11:51 pm Lester M. Petrie Jr. wrote:
On Thursday, March 24, 2011 05:46:13 pm Reindl Harald wrote:
Am 24.03.2011 22:21, schrieb Armelius Cameron:
Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
I have the following in my .bash_profile
if [ -e /etc/fedora-release ]; then release=$(awk '{print $3}' /etc/fedora-release) FC=.kde_fc${release} elif [ -e /etc/redhat-release ]; then release=$(awk '{print $7}' /etc/redhat-release) FC=.kde_rhel${release} else FC=.kde fi export KDEDIR=$HOME/${FC} export KDEHOME=$HOME/${FC}
Great. I think this is what I want. Thanks.
AC
On Thursday, March 24, 2011 05:46:13 pm Reindl Harald wrote:
Am 24.03.2011 22:21, schrieb Armelius Cameron:
Hello, Is it possible for KDE to use different config directory other than ~/.kde ?
why not using bind-mounts in /etc/fstab?
- Leave the folder empty
- put your .kde for every setup in a dedicated folder
- /pys-folder /home/username/.kde none bind
OK, I didn't know about mount --bind before. This could be useful.
Thanks. AC