Reading X11/app-defaults/ ?
Thomas Kappler
thomas.kappler at stud.uni-karlsruhe.de
Wed Feb 22 18:27:36 CET 2006
Hi Marc & list,
from version 7.0 on, rxvt-unicode has stopped to read
X11/app-defaults/URxvt. The change doesn't reflect in the changelog, it
only says "removed support for locale-specific app-defaults file", but
the change makes it disregard app-defaults/ regardless of the locale.
Is this a bug or a "feature"? At least it breaks Debian's way of
configuring things, but I don't know if that's standard or not.
In case it's a feature, perhaps you should elaborate a bit on it in the FAQ.
At the end of the mail I included a patch that restores reading
app-defaults/URxvt regardless of the locale. It's not meant to be used,
just for perhaps seeing more quickly where the relevant code is. I
copy'n'pasted the code from 6.3's Xdefaults.C to the equivalent place.
Regards,
Thomas
--- rxvt-unicode-7.5/src/rxvttoolkit.C 2006-01-31 01:17:54.000000000 +0100
+++ rxvttoolkit.C 2006-02-19 15:57:48.000000000 +0100
@@ -268,6 +268,12 @@
// 6. System wide per application default file.
/* Add in $XAPPLRESDIR/Rxvt only; not bothering with
XUSERFILESEARCHPATH */
+//TK
+ /* Add in Rxvt file */
+ rdb1 = XrmGetFileDatabase (XAPPLOADDIR "/" RESCLASS);
+ XrmMergeDatabases (rdb1, &database);
+//TK
+
if ((xe = (char *)getenv ("XAPPLRESDIR")))
{
snprintf (fname, sizeof (fname), "%s/%s", xe, RESCLASS);
More information about the rxvt-unicode
mailing list