On Thursday, 7 October 2004 09.30, Mario Streiber wrote:
Hi!
what's the default location (path) for the kdm config file kdmrc?
By default in kde it's a compile time configure option. In suse, it's hard coded to /etc/opt/kde3/share/config/kdm/ Look at kdm-path.diff
In earlier versions of KDE I had one (the default file) in /opt/kde3/share/config/kdm, and my customizations ended up in another kdmrc file located in /etc/opt/kde3/share/config/kdm. This file seemed to override the settings in the default file.
It reads one or the other, I've never seen it read both
Since upgrading to kde 3.3 my customization has vanished, and after digging a lot I found that kdm and the kdm config page in kcontrol seem to ignore /etc/opt/kde3/share/config/kdm/kdmrc, and only read and WRITE /opt/kde3/share/config/kdm/kdmrc instead. If I copy kdmrc from /etc to /opt/kde3/share/config/kdm I have my customization back.
oh? kdebase3-kdm-3.3.0-15 for suse 9.1 uses /etc/opt as the config, as I mentioned. Are you on 9.0?
I find it somewhat disturbing that configuration files in the installation tree /opt/kde3 are modified by kcontrol. These files should remain untouched, and all configuration changes should be stored somewhere below /etc, because that's the correct location for the system config.
The idea is that almost all kde config files are user specific, not site specific, so they go in /opt/kde3 and remain untouched, while user mods go in $HOME/.kde kdmrc is different in that it is one file for the whole machine, so it goes in /etc/opt/kde3 I guess that's why suse hard codes it
Can this be configured back to the old behaviour?
recompile and apply kdm-path.diff from the 9.1 sources (perhaps it was left out of the < 9.1 versions?), or cheat and symlink /opt/kde3/share/config/kdm to /etc/opt/kde3/share/config/kdm