You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kcontrol/krdb/ad
Darrell Anderson a3b5ac4073
Fix references to user profile directory.
12 years ago
..
AAAAAAGeneral.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
AAAMotif.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
AAATk.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
AAAXaw.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
AcroRead.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
CMakeLists.txt [kdebase] initial cmake support 14 years ago
Editres.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Emacs.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
GV.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
ML.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Makefile.am Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Nedit.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Netscape.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README Fix references to user profile directory. 12 years ago
RVPlayer.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
WPerfect.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
XCalc.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
XOsview.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
XTerm.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
XV.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Xawtv.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Xdvi.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Xpdf.ad Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
krdb Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago

README

KRDB V0.2

CHANGES V0.2
- use QFontInfo
- general purpose files e.g. AAAMotif.ad thanks to Gerd
  Knorr <kraxel@goldbach.isdn.cs.tu-berlin.de>

The krdb utility provides a convenient way to manage the
resources of legacy applications on your KDE desktop.
Simply run krdb every time you want to update the resources
of your supported apps.

You can easily write application default files for your own
applications. To see how, follow the example of the
supplied application default file for XV which specifies

xv*foreground: FOREGROUND
xv*background: BACKGROUND
xv*highlight: HIGHLIGHT
xv*lowlight: LOWLIGHT
xv*monofont: FIXED_FONT

The applications resources assign variables which will be
defined by krdb. The complete list of possible variables to
choose from is

FOREGROUND, BACKGROUND, HIGHLIGHT, LOWLIGHT,
WINDOW_FOREGROUND, WINDOW_BACKGROUND, SELECT_FOREGROUND,
SELECT_BACKGROUND, INACTIVE_FOREGROUND,
INACTIVE_BACKGROUND, INACTIVE_BLEND, ACTIVE_FOREGROUND,
ACTIVE_BACKGROUND, ACTIVE_BLEND, FONT, BOLD_FONT, ITALIC_FONT, 
FIXED_FONT, TITLE_FONT and FONTLIST.

Their meaning should be obvious to anyone familiar with
KDE's desktop wide resources. Install your application
default file either in

$(TDEDIR)/share/apps/kdisplay/app-defaults

or

$(HOME)/.trinity/share/apps/kdisplay/app-defaults

so that it is available to krdb for reading. If you want to
override a system file simply copy it to your user
directory and make amendments.

The krdb utility works by putting your current KDE color
and font scheme into preprocessor statements, concatenating
the specially written application default files and using
xrdb -merge to write to RESOURCE_MANAGER. Thus it gives a
simple way to make non-TDE applications fit in with the
desktop.

krdb now comes with a set of general purpose configuration
files for the Motif, Xaw and TK toolkits. How well these
general purpose resources apply to specific applications
will depend on what other application defaults are
installed. If you want krdb general resource files to apply
most generally you should not have application specific
entries for similar resources in ~/.Xdefaults or in the
system app-defaults directory e.g.
/usr/lib/X11R6/app-defaults.