get untouched /usr/local/share/config/kdm/kdmrc

But this file seems to be quite different to the installed file before.

Is it possible to download /usr/local/share/config/kdm/kdmrc from the ports?

BTW man genkdmconf is not working on my freeBSD 8.1
Code:
# man genkdmconf
[color="Red"]No manual entry for genkdmconf[/color]
and I don't know why.
 
Not having KDE installed myself, can you [cmd=""]pkg_info -W kdm[/cmd]
then find said package on one of the ftp sites, download it, un-tar(1)* it in a safe place, and copy the wanted file manually?

*Something like [cmd=""]tar -jxf filename.tbz --include=*kdmrc*[/cmd]
 
Is it any way, to simulate the first start of kdm, to create it again?

BTW can someone pls post "man genkdmconf"?
 
There is no man page for genkdmconf, but that doesn't mean the command doesn't exist. Have you tried simply removing the kdmrc file and restarting kdm?

Adam
 
adamk said:
There is no man page for genkdmconf, but that doesn't mean the command doesn't exist. Have you tried simply removing the kdmrc file and restarting kdm?

Adam

Yep, I've already tried, kdmrc will be created, but really different to the original.

BTW here is man genkdmconf:
Code:
GENKDMCONF
Section: generate configuration files for kdm (1)
Updated: June 2006
Index Return to Main Contents  
NAME
genkdmconf - generate configuration files for kdm  
SYNOPSIS
genkdmconf [--in /path/to/new/kdm-config-dir]

    [--old-xdm /path/to/old/xdm-dir]
    [--old-kde /path/to/old/kde-config-dir]
    [--no-old] [--no-old-xdm] [--no-old-kde] [--old-scripts]
    [--no-old-scripts] [--old-confs] [--no-backup]
    [--no-in-notice] 

 
DESCRIPTION
genkdmconf is used to 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 /etc/kde4/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 /etc/kde4 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. 

 
SEE ALSO
kdm(1)  
AUTHORS

Oswald Buddenhagen <ossi@kde.org>



Please use http://bugs.kde.org to report bugs; do not mail the author directly.

This manual page was written by Holger Hartmann <Holger_Hartmann@gmx.de> for the Debian Project, but may be used by others. Permission is 
granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version 
published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.7

http://diablo.ucsc.edu/cgi-bin/man/man2html?genkdmconf+1
 
Back
Top