PDA

View Full Version : get untouched /usr/local/share/config/kdm/kdmrc


ccc
September 13th, 2010, 17:52
hi

Howto get untouched /usr/local/share/config/kdm/kdmrc for freeBSD 8.1?

ccc
September 13th, 2010, 19:14
# genkdmconfseems to create new /usr/local/share/config/kdm/kdmrc file.

ccc
September 13th, 2010, 21:28
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# man genkdmconf
No manual entry for genkdmconfand I don't know why.

fronclynne
September 13th, 2010, 22:26
Not having KDE installed myself, can you pkg_info -W kdm
then find said package on one of the ftp sites, download it, un-tar* it in a safe place, and copy the wanted file manually?

*Something like tar -jxf filename.tbz --include=*kdmrc*

ccc
September 13th, 2010, 23:29
I've done what you suggested:
# pkg_info -W kdm
/usr/local/bin/kdm was installed by package kdebase-3.5.10_7
I've downloadet kdebase-3.5.10_7 from:
ftp://ftp10.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/x11/
but I get this:
# tar -jxf kdebase-3.5.10_7.tbz --include=*kdmrc*
tar: No match.

adamk
September 13th, 2010, 23:50
/usr/local/kde4/share/config/kdm/kdmrc is generated the first time kdm launches.

Adam

ccc
September 14th, 2010, 00:06
Is it any way, to simulate the first start of kdm, to create it again?

BTW can someone pls post "man genkdmconf"?

adamk
September 14th, 2010, 00:36
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

ccc
September 14th, 2010, 00:45
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:
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