Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kcontrol / krdb / ad / README
blob7dfbcbd8f1e7444fa7eba549bb08409f6bf02804
1 KRDB V0.2
3 CHANGES V0.2
4 - use QFontInfo
5 - general purpose files e.g. AAAMotif.ad thanks to Gerd
6   Knorr <kraxel@goldbach.isdn.cs.tu-berlin.de>
8 The krdb utility provides a convenient way to manage the
9 resources of legacy applications on your KDE desktop.
10 Simply run krdb every time you want to update the resources
11 of your supported apps.
13 You can easily write application default files for your own
14 applications. To see how, follow the example of the
15 supplied application default file for XV which specifies
17 xv*foreground: FOREGROUND
18 xv*background: BACKGROUND
19 xv*highlight: HIGHLIGHT
20 xv*lowlight: LOWLIGHT
21 xv*monofont: FIXED_FONT
23 The applications resources assign variables which will be
24 defined by krdb. The complete list of possible variables to
25 choose from is
27 FOREGROUND, BACKGROUND, HIGHLIGHT, LOWLIGHT,
28 WINDOW_FOREGROUND, WINDOW_BACKGROUND, SELECT_FOREGROUND,
29 SELECT_BACKGROUND, INACTIVE_FOREGROUND,
30 INACTIVE_BACKGROUND, INACTIVE_BLEND, ACTIVE_FOREGROUND,
31 ACTIVE_BACKGROUND, ACTIVE_BLEND, FONT, BOLD_FONT, ITALIC_FONT, 
32 FIXED_FONT, TITLE_FONT and FONTLIST.
34 Their meaning should be obvious to anyone familiar with
35 KDE's desktop wide resources. Install your application
36 default file either in
38 $(KDEDIR)/share/apps/kdisplay/app-defaults
42 $(HOME)/.kde/share/apps/kdisplay/app-defaults
44 so that it is available to krdb for reading. If you want to
45 override a system file simply copy it to your user
46 directory and make amendments.
48 The krdb utility works by putting your current KDE color
49 and font scheme into preprocessor statements, concatenating
50 the specially written application default files and using
51 xrdb -merge to write to RESOURCE_MANAGER. Thus it gives a
52 simple way to make non-KDE applications fit in with the
53 desktop.
55 krdb now comes with a set of general purpose configuration
56 files for the Motif, Xaw and TK toolkits. How well these
57 general purpose resources apply to specific applications
58 will depend on what other application defaults are
59 installed. If you want krdb general resource files to apply
60 most generally you should not have application specific
61 entries for similar resources in ~/.Xdefaults or in the
62 system app-defaults directory e.g.
63 /usr/lib/X11R6/app-defaults.