summaryrefslogtreecommitdiffstats
path: root/kcontrol/krdb/ad
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/krdb/ad')
-rw-r--r--kcontrol/krdb/ad/AAAAAAGeneral.ad2
-rw-r--r--kcontrol/krdb/ad/AAAMotif.ad74
-rw-r--r--kcontrol/krdb/ad/AAATk.ad107
-rw-r--r--kcontrol/krdb/ad/AAAXaw.ad36
-rw-r--r--kcontrol/krdb/ad/AcroRead.ad8
-rw-r--r--kcontrol/krdb/ad/Editres.ad5
-rw-r--r--kcontrol/krdb/ad/Emacs.ad17
-rw-r--r--kcontrol/krdb/ad/GV.ad1
-rw-r--r--kcontrol/krdb/ad/ML.ad36
-rw-r--r--kcontrol/krdb/ad/Makefile.am13
-rw-r--r--kcontrol/krdb/ad/Nedit.ad2
-rw-r--r--kcontrol/krdb/ad/Netscape.ad25
-rw-r--r--kcontrol/krdb/ad/README63
-rw-r--r--kcontrol/krdb/ad/RVPlayer.ad40
-rw-r--r--kcontrol/krdb/ad/WPerfect.ad69
-rw-r--r--kcontrol/krdb/ad/XCalc.ad7
-rw-r--r--kcontrol/krdb/ad/XOsview.ad5
-rw-r--r--kcontrol/krdb/ad/XTerm.ad4
-rw-r--r--kcontrol/krdb/ad/XV.ad2
-rw-r--r--kcontrol/krdb/ad/Xawtv.ad10
-rw-r--r--kcontrol/krdb/ad/Xdvi.ad1
-rw-r--r--kcontrol/krdb/ad/Xpdf.ad3
-rwxr-xr-xkcontrol/krdb/ad/krdb4
23 files changed, 534 insertions, 0 deletions
diff --git a/kcontrol/krdb/ad/AAAAAAGeneral.ad b/kcontrol/krdb/ad/AAAAAAGeneral.ad
new file mode 100644
index 000000000..d398d410e
--- /dev/null
+++ b/kcontrol/krdb/ad/AAAAAAGeneral.ad
@@ -0,0 +1,2 @@
+*background: BACKGROUND
+*foreground: FOREGROUND
diff --git a/kcontrol/krdb/ad/AAAMotif.ad b/kcontrol/krdb/ad/AAAMotif.ad
new file mode 100644
index 000000000..af36763ef
--- /dev/null
+++ b/kcontrol/krdb/ad/AAAMotif.ad
@@ -0,0 +1,74 @@
+*XmScrollBar.background: BACKGROUND
+*XmScrollBar.foreground: FOREGROUND
+
+*XmSash.background: BACKGROUND
+*XmSash.foreground: FOREGROUND
+
+*XmLabel.background: BACKGROUND
+*XmLabel.foreground: FOREGROUND
+*XmLabelGadget.background: BACKGROUND
+*XmLabelGadget.foreground: FOREGROUND
+
+*XmCascadeButton.background: BACKGROUND
+*XmCascadeButton.foreground: FOREGROUND
+*XmCascadeButtonGadget.background: BACKGROUND
+*XmCascadeButtonGadget.foreground: FOREGROUND
+
+*XmToggleButton.background: BACKGROUND
+*XmToggleButton.foreground: FOREGROUND
+*XmToggleButtonGadget.background: BACKGROUND
+*XmToggleButtonGadget.foreground: FOREGROUND
+
+*XmPushButton.background: BACKGROUND
+*XmPushButton.foreground: FOREGROUND
+*XmPushButtonGadget.background: BACKGROUND
+*XmPushButtonGadget.foreground: FOREGROUND
+
+*XmSeparator.background: BACKGROUND
+*XmSeparator.foreground: FOREGROUND
+*XmSeparatorGadget.background: BACKGROUND
+*XmSeparatorGadget.foreground: FOREGROUND
+
+*XmTearOffButton.background: BACKGROUND
+*XmTearOffButton.foreground: FOREGROUND
+*XmTearOffButtonGadget.background: BACKGROUND
+*XmTearOffButtonGadget.foreground: FOREGROUND
+
+*XmMenuShell.background: BACKGROUND
+*XmMenuShell.foreground: FOREGROUND
+
+*XmDialogShell.background: BACKGROUND
+*XmDialogShell.foreground: FOREGROUND
+
+*XmFileSelectionBox.background: BACKGROUND
+*XmFileSelectionBox.foreground: FOREGROUND
+
+*XmSelectionBox.background: BACKGROUND
+*XmSelectionBox.foreground: FOREGROUND
+
+*XmMessageBox.background: BACKGROUND
+*XmMessageBox.foreground: FOREGROUND
+
+*XmRowColumn.background: BACKGROUND
+*XmRowColumn.foreground: FOREGROUND
+
+*XmFrame.background: BACKGROUND
+*XmFrame.foreground: FOREGROUND
+
+*XmForm.background: BACKGROUND
+*XmForm.foreground: FOREGROUND
+
+*XmScrolledWindow.background: BACKGROUND
+*XmScrolledWindow.foreground: FOREGROUND
+
+*XmPanedWindow.background: BACKGROUND
+*XmPanedWindow.foreground: FOREGROUND
+
+*XmText.background: WINDOW_BACKGROUND
+*XmText.foreground: WINDOW_FOREGROUND
+
+*XmTextField.background: WINDOW_BACKGROUND
+*XmTextField.foreground: WINDOW_FOREGROUND
+
+*XmList.background: WINDOW_BACKGROUND
+*XmList.foreground: WINDOW_FOREGROUND
diff --git a/kcontrol/krdb/ad/AAATk.ad b/kcontrol/krdb/ad/AAATk.ad
new file mode 100644
index 000000000..33a12009f
--- /dev/null
+++ b/kcontrol/krdb/ad/AAATk.ad
@@ -0,0 +1,107 @@
+*Toplevel.background: BACKGROUND
+*Toplevel.foreground: FOREGROUND
+*Toplevel.highlightBackground: BACKGROUND
+*Toplevel.highlightColor: FOREGROUND
+*Toplevel.activeBackground: BACKGROUND
+*Toplevel.activeForeground: FOREGROUND
+
+*Button.background: BACKGROUND
+*Button.foreground: FOREGROUND
+*Button.highlightBackground: BACKGROUND
+*Button.highlightColor: FOREGROUND
+*Button.activeBackground: BACKGROUND
+*Button.activeForeground: FOREGROUND
+
+*Menubutton.background: BACKGROUND
+*Menubutton.foreground: FOREGROUND
+*Menubutton.highlightBackground: BACKGROUND
+*Menubutton.highlightColor: FOREGROUND
+*Menubutton.activeBackground: BACKGROUND
+*Menubutton.activeForeground: FOREGROUND
+
+*Checkbutton.background: BACKGROUND
+*Checkbutton.foreground: FOREGROUND
+*Checkbutton.highlightBackground: BACKGROUND
+*Checkbutton.highlightColor: FOREGROUND
+*Checkbutton.activeBackground: BACKGROUND
+*Checkbutton.activeForeground: FOREGROUND
+
+*Radiobutton.background: BACKGROUND
+*Radiobutton.foreground: FOREGROUND
+*Radiobutton.highlightBackground: BACKGROUND
+*Radiobutton.highlightColor: FOREGROUND
+*Radiobutton.activeBackground: BACKGROUND
+*Radiobutton.activeForeground: FOREGROUND
+
+!*Label.background: BACKGROUND
+!*Label.foreground: FOREGROUND
+*Label.highlightBackground: BACKGROUND
+*Label.highlightColor: FOREGROUND
+*Label.activeBackground: BACKGROUND
+*Label.activeForeground: FOREGROUND
+
+*Menu.background: BACKGROUND
+*Menu.foreground: FOREGROUND
+*Menu.highlightBackground: BACKGROUND
+*Menu.highlightColor: FOREGROUND
+*Menu.activeBackground: BACKGROUND
+*Menu.activeForeground: FOREGROUND
+
+*Frame.background: BACKGROUND
+*Frame.foreground: FOREGROUND
+*Frame.highlightBackground: BACKGROUND
+*Frame.highlightColor: FOREGROUND
+*Frame.activeBackground: BACKGROUND
+*Frame.activeForeground: FOREGROUND
+
+!*Scrollbar.background: BACKGROUND
+!*Scrollbar.foreground: FOREGROUND
+*Scrollbar.highlightBackground: BACKGROUND
+*Scrollbar.highlightColor: FOREGROUND
+*Scrollbar.activeBackground: BACKGROUND
+*Scrollbar.activeForeground: FOREGROUND
+*Scrollbar.troughColor: BACKGROUND
+
+*Scale.background: BACKGROUND
+*Scale.foreground: FOREGROUND
+*Scale.highlightBackground: BACKGROUND
+*Scale.highlightColor: FOREGROUND
+*Scale.activeBackground: BACKGROUND
+*Scale.activeForeground: FOREGROUND
+*Scale.troughColor: BACKGROUND
+
+*Entry.background: WINDOW_BACKGROUND
+*Entry.foreground: WINDOW_FOREGROUND
+*Entry.highlightBackground: WINDOW_BACKGROUND
+*Entry.highlightColor: WINDOW_FOREGROUND
+*Entry.activeBackground: WINDOW_BACKGROUND
+*Entry.activeForeground: WINDOW_FOREGROUND
+*Entry.selectBackground: SELECT_BACKGROUND
+*Entry.selectForeground: SELECT_FOREGROUND
+
+!*Text.background: WINDOW_BACKGROUND
+!*Text.foreground: WINDOW_FOREGROUND
+*Text.highlightBackground: WINDOW_BACKGROUND
+*Text.highlightColor: WINDOW_FOREGROUND
+*Text.activeBackground: WINDOW_BACKGROUND
+*Text.activeForeground: WINDOW_FOREGROUND
+*Text.selectBackground: SELECT_BACKGROUND
+*Text.selectForeground: SELECT_FOREGROUND
+
+*Listbox.background: WINDOW_BACKGROUND
+*Listbox.foreground: WINDOW_FOREGROUND
+*Listbox.highlightBackground: WINDOW_BACKGROUND
+*Listbox.highlightColor: WINDOW_FOREGROUND
+*Listbox.activeBackground: WINDOW_BACKGROUND
+*Listbox.activeForeground: WINDOW_FOREGROUND
+*Listbox.selectBackground: SELECT_BACKGROUND
+*Listbox.selectForeground: SELECT_FOREGROUND
+
+*Canvas.background: WINDOW_BACKGROUND
+*Canvas.foreground: WINDOW_FOREGROUND
+*Canvas.highlightBackground: WINDOW_BACKGROUND
+*Canvas.highlightColor: WINDOW_FOREGROUND
+*Canvas.activeBackground: WINDOW_BACKGROUND
+*Canvas.activeForeground: WINDOW_FOREGROUND
+*Canvas.selectbackground: SELECT_BACKGROUND
+*Canvas.selectforeground: SELECT_FOREGROUND
diff --git a/kcontrol/krdb/ad/AAAXaw.ad b/kcontrol/krdb/ad/AAAXaw.ad
new file mode 100644
index 000000000..86848731f
--- /dev/null
+++ b/kcontrol/krdb/ad/AAAXaw.ad
@@ -0,0 +1,36 @@
+*beNiceToColormap: false
+*borderColor: black
+
+*MenuButton.background: BACKGROUND
+*Command.background: BACKGROUND
+*Toggle.background: BACKGROUND
+*Label.background: BACKGROUND
+*Scrollbar*background: BACKGROUND
+*SimpleMenu*background: BACKGROUND
+*Box.background: BACKGROUND
+*Form.background: BACKGROUND
+*Dialog.background: BACKGROUND
+*Text.background: WINDOW_BACKGROUND
+*List.background: WINDOW_BACKGROUND
+
+*MenuButton.foreground: FOREGROUND
+*Command.foreground: FOREGROUND
+*Toggle.foreground: FOREGROUND
+*Label.foreground: FOREGROUND
+*Scrollbar.foreground: FOREGROUND
+*SimpleMenu*foreground: FOREGROUND
+*Box.foreground: FOREGROUND
+*Form.foreground: FOREGROUND
+*Dialog.foreground: FOREGROUND
+*Text.foreground: WINDOW_FOREGROUND
+*List.foreground: WINDOW_FOREGROUND
+
+*ScrollbarBackground: BACKGROUND
+*Scrollbar*width: 15
+*Scrollbar*height: 15
+*Scrollbar*shadowWidth: 2
+*Scrollbar*cursorName: left_ptr
+*Scrollbar*pushThumb: false
+*ShapeStyle: Rectangle
+*SmeBSB*shadowWidth: 3
+*Scrollbar*Cursor: left_ptr
diff --git a/kcontrol/krdb/ad/AcroRead.ad b/kcontrol/krdb/ad/AcroRead.ad
new file mode 100644
index 000000000..dfd238123
--- /dev/null
+++ b/kcontrol/krdb/ad/AcroRead.ad
@@ -0,0 +1,8 @@
+nspluginviewer*lprCommand: kprinter
+acroread*lprCommand: kprinter
+Acroread.foreground: WINDOW_FOREGROUND
+Acroread.background: WINDOW_BACKGROUND
+AcroRead.borderColor: WINDOW_FOREGROUND
+AcroRead.XmScreen.background: WINDOW_BACKGROUND
+AcroRead.XmScreen.borderColor: WINDOW_FOREGROUND
+
diff --git a/kcontrol/krdb/ad/Editres.ad b/kcontrol/krdb/ad/Editres.ad
new file mode 100644
index 000000000..31ee2aa87
--- /dev/null
+++ b/kcontrol/krdb/ad/Editres.ad
@@ -0,0 +1,5 @@
+editres*Tree.Background: WINDOW_BACKGROUND
+editres*Tree.Foreground: WINDOW_FOREGROUND
+editres*Tree.Toggle.Foreground: FOREGROUND
+editres*Tree.Toggle.Background: BACKGROUND
+editres*Panner.Background: BACKGROUND
diff --git a/kcontrol/krdb/ad/Emacs.ad b/kcontrol/krdb/ad/Emacs.ad
new file mode 100644
index 000000000..c38a1094b
--- /dev/null
+++ b/kcontrol/krdb/ad/Emacs.ad
@@ -0,0 +1,17 @@
+Emacs.default.attributeForeground: WINDOW_FOREGROUND
+Emacs.default.attributeBackground: WINDOW_BACKGROUND
+
+Emacs*Foreground: WINDOW_FOREGROUND
+Emacs*Background: WINDOW_BACKGROUND
+Emacs*menubar*foreground: FOREGROUND
+Emacs*menubar*background: BACKGROUND
+Emacs*popup*Foreground: FOREGROUND
+Emacs*popup*Background: BACKGROUND
+Emacs*Dialog*foreground: FOREGROUND
+Emacs*Dialog*background: BACKGROUND
+Emacs*XlwScrollBar.Foreground: FOREGROUND
+Emacs*XlwScrollBar.Background: BACKGROUND
+Emacs*topToolBarShadowColor: BACKGROUND
+Emacs*bottomToolBarShadowColor: BACKGROUND
+Emacs*backgroundToolBarColor: BACKGROUND
+Emacs*toolBarShadowThickness: 0
diff --git a/kcontrol/krdb/ad/GV.ad b/kcontrol/krdb/ad/GV.ad
new file mode 100644
index 000000000..95707f559
--- /dev/null
+++ b/kcontrol/krdb/ad/GV.ad
@@ -0,0 +1 @@
+GV.printCommand: kprinter
diff --git a/kcontrol/krdb/ad/ML.ad b/kcontrol/krdb/ad/ML.ad
new file mode 100644
index 000000000..8c4482453
--- /dev/null
+++ b/kcontrol/krdb/ad/ML.ad
@@ -0,0 +1,36 @@
+ml*background: BACKGROUND
+ml*foreground: FOREGROUND
+ml*XmText*foreground: WINDOW_FOREGROUND
+ml*XmText*background: WINDOW_BACKGROUND
+ml*XmList*foreground: WINDOW_FOREGROUND
+ml*XmList*background: WINDOW_BACKGROUND
+!ml*XmLabel*foreground: FOREGROUND
+!ml*XmLabel*background: BACKGROUND
+ml*XmTextField*background: WINDOW_BACKGROUND
+ml*XmTextField*foreground: WINDOW_FOREGROUND
+ml*helpwin*textSW.text.background: WINDOW_BACKGROUND
+ml*helpwin*textSW.text.foreground: WINDOW_FOREGROUND
+ml*textSW.text.background: WINDOW_BACKGROUND
+ml*textSW.text.foreground: WINDOW_FOREGROUND
+ml*log*textSW.text.background: WINDOW_BACKGROUND
+ml*log*textSW.text.foreground: WINDOW_FOREGROUND
+ml*selectColor: BACKGROUND
+ml*highlightColor: BACKGROUND
+ml.form.height: 550
+ml.form.width: 650
+ml*focusPolicy: pointer
+ml*XmForm*verticalSpacing: 0
+ml*XmForm*topOffset: 0
+ml*XmForm*bottomOffset: 0
+ml*XmRowColumn*spacing: 0
+ml*XmRowColumn*marginHeight: 1
+ml*XmRowColumn.entryBorder: 0
+ml*XmCascadeButton.marginHeight: 2
+ml*XmCascadeButton.marginWidth: 8
+ml*XmToggleButton.marginHeight: 1
+ml*XmPushButton.marginHeight: 1
+ml*marginHeight: 2
+ml*marginWidth: 3
+ml*XmList*highlightThickness: 0
+ml*borderWidth: 0
+
diff --git a/kcontrol/krdb/ad/Makefile.am b/kcontrol/krdb/ad/Makefile.am
new file mode 100644
index 000000000..68b2fe2bb
--- /dev/null
+++ b/kcontrol/krdb/ad/Makefile.am
@@ -0,0 +1,13 @@
+
+AM_CPPFLAGS = $(all_includes)
+
+kdisplay_defaults_data_DATA = AAAAAAGeneral.ad AAAMotif.ad AAATk.ad AAAXaw.ad AcroRead.ad \
+ Editres.ad Emacs.ad GV.ad ML.ad Nedit.ad Netscape.ad RVPlayer.ad \
+ WPerfect.ad XCalc.ad Xawtv.ad Xdvi.ad XTerm.ad XOsview.ad XV.ad Xpdf.ad
+
+kdisplay_defaults_datadir = $(kde_datadir)/kdisplay/app-defaults
+
+EXTRA_DIST = $(kdisplay_defaults_data_DATA)
+
+bin_SCRIPTS = krdb
+
diff --git a/kcontrol/krdb/ad/Nedit.ad b/kcontrol/krdb/ad/Nedit.ad
new file mode 100644
index 000000000..6e3dc3b56
--- /dev/null
+++ b/kcontrol/krdb/ad/Nedit.ad
@@ -0,0 +1,2 @@
+nedit*background: BACKGROUND
+nedit*foreground: FOREGROUND
diff --git a/kcontrol/krdb/ad/Netscape.ad b/kcontrol/krdb/ad/Netscape.ad
new file mode 100644
index 000000000..890f37ecf
--- /dev/null
+++ b/kcontrol/krdb/ad/Netscape.ad
@@ -0,0 +1,25 @@
+Netscape*background: BACKGROUND
+Netscape*foreground: FOREGROUND
+Netscape*XmText*foreground: WINDOW_FOREGROUND
+Netscape*XmText*background: WINDOW_BACKGROUND
+Netscape*XmTextField*foreground: WINDOW_FOREGROUND
+Netscape*XmTextField*background: WINDOW_BACKGROUND
+Netscape*XmList*foreground: WINDOW_FOREGROUND
+Netscape*XmList*background: WINDOW_BACKGROUND
+Netscape*topShadowColor: HIGHLIGHT
+Netscape*bottomShadowColor: LOWLIGHT
+Netscape*urlText*foreground: WINDOW_FOREGROUND
+Netscape*urlText*background: WINDOW_BACKGROUND
+Netscape*XmLGrid.foreground: WINDOW_FOREGROUND
+Netscape*XmLGrid.background: BACKGROUND
+Netscape*urlLabel*foreground: WINDOW_FOREGROUND
+Netscape*urlLabel*background: WINDOW_BACKGROUND
+Netscape*thermo.slider.foreground: SELECT_BACKGROUND
+Netscape*thermo.slider.background: BACKGROUND
+Netscape*power.LED.foreground: SELECT_BACKGROUND
+Netscape*power.LED.background: BACKGROUND
+Netscape*defaultBackground: WINDOW_BACKGROUND
+Netscape*selectColor: BACKGROUND
+Netscape*highlightColor: BACKGROUND
+Netscape*selectForeground: SELECT_FOREGROUND
+Netscape*selectBackground: SELECT_BACKGROUND
diff --git a/kcontrol/krdb/ad/README b/kcontrol/krdb/ad/README
new file mode 100644
index 000000000..7dfbcbd8f
--- /dev/null
+++ b/kcontrol/krdb/ad/README
@@ -0,0 +1,63 @@
+KRDB V0.2
+
+CHANGES V0.2
+- use QFontInfo
+- general purpose files e.g. AAAMotif.ad thanks to Gerd
+
+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
+
+$(KDEDIR)/share/apps/kdisplay/app-defaults
+
+or
+
+$(HOME)/.kde/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-KDE 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.
diff --git a/kcontrol/krdb/ad/RVPlayer.ad b/kcontrol/krdb/ad/RVPlayer.ad
new file mode 100644
index 000000000..10603c8d6
--- /dev/null
+++ b/kcontrol/krdb/ad/RVPlayer.ad
@@ -0,0 +1,40 @@
+*rvplayer*background: BACKGROUND
+*rvplayer*Label.BorderColor: WINDOW_FOREGROUND
+*rvplayer*Command.BorderColor: WINDOW_FOREGROUND
+*rvplayer*Command.background: BACKGROUND
+*rvplayer*Command.foreground: FOREGROUND
+*rvplayer*MenuButton.BorderColor: WINDOW_FOREGROUND
+*rvplayer*MenuButton.background: BACKGROUND
+*rvplayer*SimpleMenu.foreground: FOREGROUND
+*rvplayer*SimpleMenu.background: BACKGROUND
+*rvplayer*SimpleMenu.BorderColor: LOWLIGHT
+*rvplayer*SmeBSB*fgInsensitive: HIGHLIGHT
+*rvplayer*timeslider.foreground: BACKGROUND
+*rvplayer*timeslider.topShadowPixel: LOWLIGHT
+*rvplayer*timeslider.bottomShadowPixel: HIGHLIGHT
+*rvplayer*timeslider.thumbPixel: HIGHLIGHT
+*rvplayer*SepLine.topShadowPixel: LOWLIGHT
+*rvplayer*SepLine.bottomShadowPixel: HIGHLIGHT
+*rvplayer*SepLine.BorderColor: BACKGROUND
+*rvplayer*titletext.background: BACKGROUND
+*rvplayer*titletext.topShadowPixel: LOWLIGHT
+*rvplayer*titletext.bottomShadowPixel: HIGHLIGHT
+*rvplayer*authortext.background: BACKGROUND
+*rvplayer*authortext.topShadowPixel: LOWLIGHT
+*rvplayer*authortext.bottomShadowPixel: HIGHLIGHT
+*rvplayer*copyrighttext.background: BACKGROUND
+*rvplayer*copyrighttext.topShadowPixel: LOWLIGHT
+*rvplayer*copyrighttext.bottomShadowPixel: HIGHLIGHT
+*rvplayer*statustext.background: BACKGROUND
+*rvplayer*statustext.foreground: FOREGROUND
+*rvplayer*statusback.background: BACKGROUND
+*rvplayer*statusback.foreground: FOREGROUND
+*rvplayer*proptext.background: BACKGROUND
+*rvplayer*proptext.foreground: FOREGROUND
+*rvplayer*timeinfotext.topShadowPixel: LOWLIGHT
+*rvplayer*timeinfotext.bottomShadowPixel: HIGHLIGHT
+*rvplayer*timeinfotext.background: BACKGROUND
+*rvplayer*timeinfotext.foreground: FOREGROUND
+*rvplayer*volumeslider.topShadowPixel: LOWLIGHT
+*rvplayer*volumeslider.bottomShadowPixel: HIGHLIGHT
+*rvplayer*Vslider.thumbPixel: HIGHLIGHT
diff --git a/kcontrol/krdb/ad/WPerfect.ad b/kcontrol/krdb/ad/WPerfect.ad
new file mode 100644
index 000000000..f005d8452
--- /dev/null
+++ b/kcontrol/krdb/ad/WPerfect.ad
@@ -0,0 +1,69 @@
+XWp*XmDrawingArea.background: WINDOW_BACKGROUND
+XWp*XmList*background: WINDOW_BACKGROUND
+XWp*XmText*background: WINDOW_BACKGROUND
+XWp*XmTextField*background: #FFFFFFFFFFFF
+WPFMShell*XmDrawingArea*background: WINDOW_BACKGROUND
+WPFMShell*XmList*background: WINDOW_BACKGROUND
+WPFMShell*XmText*background: WINDOW_BACKGROUND
+WPFMShell*XmTextField*background: WINDOW_BACKGROUND
+XWp*XmDrawingArea.foreground: WINDOW_FOREGROUND
+XWp*XmList*foreground: WINDOW_FOREGROUND
+XWp*XmText*foreground: WINDOW_FOREGROUND
+XWp*XmTextField*foreground: WINDOW_FOREGROUND
+WPFMShell*XmDrawingArea*foreground: WINDOW_FOREGROUND
+WPFMShell*XmList*foreground: WINDOW_FOREGROUND
+WPFMShell*XmText*foreground: WINDOW_FOREGROUND
+WPFMShell*XmTextField*foreground: WINDOW_FOREGROUND
+XWp.mainWindowForm.mainWindowMenubar*background: BACKGROUND
+XWp*MenuBar*background: BACKGROUND
+XWp*menubar*background: BACKGROUND
+XWp*popmenu*background: BACKGROUND
+WPFMShell*MenuBar*background: BACKGROUND
+WPFMShell*menubar*background: BACKGROUND
+XWp.mainWindowForm.mainWindowMenubar*foreground: FOREGROUND
+XWp*MenuBar*foreground: FOREGROUND
+XWp*menubar*foreground: FOREGROUND
+XWp*popmenu*foreground: FOREGROUND
+WPFMShell*MenuBar*foreground: FOREGROUND
+WPFMShell*menubar*foreground: FOREGROUND
+XWp*XmDialogShell*foreground: FOREGROUND
+XWp*XmDialogShell*XmScrolledWindow*XmDrawingArea.foreground: FOREGROUND
+WPFMShell*XmDialogShell*foreground: FOREGROUND
+WPFMShell*XmDialogShell*XmScrolledWindow*XmDrawingArea.foreground: FOREGROUND
+XWp*XmDialogShell*XmDrawingArea.foreground: WINDOW_FOREGROUND
+XWp*XmDialogShell*XmList*foreground: WINDOW_FOREGROUND
+XWp*XmDialogShell*XmText*foreground: WINDOW_FOREGROUND
+XWp*XmDialogShell*XmTextField*foreground: WINDOW_FOREGROUND
+WPFMShell*XmDialogShell*XmDrawingArea*foreground: WINDOW_FOREGROUND
+WPFMShell*XmDialogShell*XmList*foreground: WINDOW_FOREGROUND
+WPFMShell*XmDialogShell*XmText*foreground: WINDOW_FOREGROUND
+WPFMShell*XmDialogShell*XmTextField*foreground: WINDOW_FOREGROUND
+XWp*XmDialogShell*background: BACKGROUND
+XWp*XmDialogShell*XmScrolledWindow*XmDrawingArea.background: WINDOW_BACKGROUND
+WPFMShell*XmDialogShell*background: WINDOW_BACKGROUND
+WPFMShell*XmDialogShell*XmScrolledWindow*XmDrawingArea.background:
+WINDOW_BACKGROUND
+XWp*XmDialogShell*XmDrawingArea.background: WINDOW_BACKGROUND
+XWp*XmDialogShell*XmList*background: WINDOW_BACKGROUND
+XWp*XmDialogShell*XmText*background: WINDOW_BACKGROUND
+XWp*XmDialogShell*XmTextField*background: WINDOW_BACKGROUND
+WPFMShell*XmDialogShell*XmDrawingArea*background: WINDOW_BACKGROUND
+WPFMShell*XmDialogShell*XmList*background: WINDOW_BACKGROUND
+WPFMShell*XmDialogShell*XmText*background: WINDOW_BACKGROUND
+WPFMShell*XmDialogShell*XmTextField*background: WINDOW_BACKGROUND
+XWp*background: BACKGROUND
+XWp*XmScrolledWindow*XmDrawingArea.background: BACKGROUND
+WPFMShell*background: BACKGROUND
+WPFMShell*XmScrolledWindow*XmDrawingArea.background: BACKGROUND
+XWp.form.rulerframe.ruler*background: BACKGROUND
+XWp.form.controlbar.menubar.CBHlpButton*background: BACKGROUND
+XWp*foreground: FOREGROUND
+XWp*XmScrolledWindow*XmDrawingArea.foreground: FOREGROUND
+WPFMShell*foreground: FOREGROUND
+WPFMShell*XmScrolledWindow*XmDrawingArea.foreground: FOREGROUND
+XWp.form.scrollbar0.background: BACKGROUND
+XWp.form.hscrollbar.background: BACKGROUND
+
+
+
+
diff --git a/kcontrol/krdb/ad/XCalc.ad b/kcontrol/krdb/ad/XCalc.ad
new file mode 100644
index 000000000..7f2ebcfac
--- /dev/null
+++ b/kcontrol/krdb/ad/XCalc.ad
@@ -0,0 +1,7 @@
+xcalc*background: BACKGROUND
+xcalc*foreground: FOREGROUND
+!xcalc*bevel.Background: LOWLIGHT
+!xcalc*bevel.screen*background: WINDOW_BACKGROUND
+!xcalc*bevel.screen*foreground: WINDOW_FOREGROUND
+xcalc*bevel.screen.LCD.background: WINDOW_BACKGROUND
+xcalc*bevel.screen.LCD.foreground: WINDOW_FOREGROUND
diff --git a/kcontrol/krdb/ad/XOsview.ad b/kcontrol/krdb/ad/XOsview.ad
new file mode 100644
index 000000000..b9a3c1619
--- /dev/null
+++ b/kcontrol/krdb/ad/XOsview.ad
@@ -0,0 +1,5 @@
+xosview*meterLabelColor: FOREGROUND
+xosview*usedLabelColor: FOREGROUND
+xosview*background: BACKGROUND
+xosview*foreground: FOREGROUND
+
diff --git a/kcontrol/krdb/ad/XTerm.ad b/kcontrol/krdb/ad/XTerm.ad
new file mode 100644
index 000000000..cf0e41c8e
--- /dev/null
+++ b/kcontrol/krdb/ad/XTerm.ad
@@ -0,0 +1,4 @@
+xterm*background: WINDOW_BACKGROUND
+xterm*foreground: WINDOW_FOREGROUND
+xterm.SimpleMenu*background: BACKGROUND
+xterm.SimpleMenu*foreground: FOREGROUND
diff --git a/kcontrol/krdb/ad/XV.ad b/kcontrol/krdb/ad/XV.ad
new file mode 100644
index 000000000..c9c288cb2
--- /dev/null
+++ b/kcontrol/krdb/ad/XV.ad
@@ -0,0 +1,2 @@
+!xv*highlight: HIGHLIGHT
+!xv*lowlight: LOWLIGHT
diff --git a/kcontrol/krdb/ad/Xawtv.ad b/kcontrol/krdb/ad/Xawtv.ad
new file mode 100644
index 000000000..4134464aa
--- /dev/null
+++ b/kcontrol/krdb/ad/Xawtv.ad
@@ -0,0 +1,10 @@
+Xawtv*foreground: FOREGROUND
+Xawtv*background: BACKGROUND
+TopLevelShell*foreground: FOREGROUND
+TopLevelShell*background: BACKGROUND
+Streamer*Text*background: BACKGROUND
+Config*Text*background: BACKGROUND
+Config*channel.background: BACKGROUND
+Config*key.background: BACKGROUND
+Config*list.background: BACKGROUND
+Xawtv*Dialog.value.background: BACKGROUND
diff --git a/kcontrol/krdb/ad/Xdvi.ad b/kcontrol/krdb/ad/Xdvi.ad
new file mode 100644
index 000000000..6b1848023
--- /dev/null
+++ b/kcontrol/krdb/ad/Xdvi.ad
@@ -0,0 +1 @@
+xdvi.background: white
diff --git a/kcontrol/krdb/ad/Xpdf.ad b/kcontrol/krdb/ad/Xpdf.ad
new file mode 100644
index 000000000..3109bbbd9
--- /dev/null
+++ b/kcontrol/krdb/ad/Xpdf.ad
@@ -0,0 +1,3 @@
+xpdf.urlCommand: kfmclient exec %s
+xpdf.foreground: FOREGROUND
+xpdf.background: BACKGROUND
diff --git a/kcontrol/krdb/ad/krdb b/kcontrol/krdb/ad/krdb
new file mode 100755
index 000000000..96ee9fc92
--- /dev/null
+++ b/kcontrol/krdb/ad/krdb
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+kcminit style
+