[Pkg-xfce-devel] Bug#648553: Bug#648553: xfce4-utils: runs xrdb -merge with the -nocpp option

Yves-Alexis Perez corsac at debian.org
Tue Nov 15 14:27:09 UTC 2011

On sam., 2011-11-12 at 13:01 -0800, Russ Allbery wrote:
> I just switched from GNOME to Xfce and discovered that all of my xterms
> were using a microfont.  It took a bit of tracking down, but this was
> because .Xresources wasn't being run through the preprocessor, so the
> xterm font was being set to the literal value of the preprocessor define
> I was using instead of the actual font, and then falling back on fixed.
> The standard Debian /etc/X11/Xsession.d/30x11-common_xresources file
> runs xrdb normally, but /etc/xdg/xfce4/xinitrc explicitly passes in
> -nocpp.  Is there some reason for this?  Would it be possible to remove
> that flag?  It's somewhat surprising, since Xresources has always been
> run through the preprocessor for as long as I've been using X (nearly
> twenty years now).
> Attached to the bug report is my modified xinitrc, since reportbug wanted
> to include it, but the change is trivial and obvious.
> Google seems to indicate that Gentoo is also patching for this. 

I've asked Xfce people about that, and they don't really remember why
-nocpp is passed. Looking a bit on Google, I found
and I think the command line was basically copied from Gnome, or
something like that.

So removing -nocpp might means slowing down the session start, which is
a bit unfortunate.

In our case, when people start Xfce “the debian way” (not using
startxfce4 directly, but using a display manager or calling startx
with .xsession set to startxfce4), then xrdb will have been run before,
so it might make sense to just remove the xrdb call in xinitrc

What puzzles me though, is that afaict the settings should have already
been applied by /etc/X11/Xsession.d/30x11-common_xresources and the call
in /etc/xdg/xfce4/xinitrc should only merge new stuff, not replace them.
How comes it doesn't work for you?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20111115/4fce0da2/attachment.pgp>

More information about the Pkg-xfce-devel mailing list