Summary: | KDM settings should be preserved when upgrading major KDE versions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Antti Mäkelä <zarhan> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Antti Mäkelä
2005-12-05 06:09:02 UTC
There are technical difficulties in migrating /usr/kde/3.4/share/config/kdm/kdmrc, because the format changed a lot. See also bug 82276. Probably one thing that could be done was migrating the content of /usr/kde/3.4/share/apps/kdm/faces, but maybe it is a bit late now? That's where the genkdmconf comes in... # genkdmconf --help genkdmconf - generate configuration files for kdm If an older xdm/kdm configuration is found, its config files are "absorbed"; if it lives in the new target directory, its scripts are reused (and possibly modified) as well, otherwise the scripts are ignored and default scripts are installed. options: --in /path/to/new/kdm-config-dir In which directory to put the new configuration. You can use this to support a $(DESTDIR), but not to change the final location of the installation - the paths inside the files are not affected. Default is /usr/kde/3.5/share/config/kdm. --old-xdm /path/to/old/xdm-dir Where to look for the config files of an xdm/older kdm. Default is to scan /etc/X11/kdm, $XLIBDIR/kdm, /etc/X11/xdm, $XLIBDIR/xdm; there in turn look for kdm-config and xdm-config. Note that you possibly need to use --no-old-kde to make this take effect. --old-kde /path/to/old/kde-config-dir Where to look for the kdmrc of an older kdm. Default is to scan /usr/kde/3.5/share/config and {/usr,/usr/local,{/opt,/usr/local}/{kde3,kde,kde2,kde1}}/share/config. --no-old Don't look at older xdm/kdm configurations, just create default config. --no-old-xdm Don't look at older xdm configurations. --no-old-kde Don't look at older kdm configurations. --old-scripts Directly use all scripts from the older xdm/kdm configuration. --no-old-scripts Don't use scripts from the older xdm/kdm configuration even if it lives in the new target directory. --old-confs Directly use all ancillary config files from the older xdm/kdm configuration. This is usually a bad idea. --no-backup Overwrite/delete old config files instead of backing them up. --no-in-notice Don't put the notice about --in being used into the generated README. True, genkdmconf can help. This can be considered in the future, but for now I think it's better to leave things as they are, considering that generating kdmrc in this way would mean installing a file on the system based on some information extracted from the building host at compile time - a bit fragile at this stage of development and not worth the trouble. We will look forward at kde4 to see how the situation will change. Then put the status to resolved LATER :) |