I am using Xfce 4.6.2 on 32-bit Linux. I stumbled to a problem with CursorThemeName not being correctly passed to xrdb. After some testing I found out, that the problem actually affects all configuration that is being passed to xrdb by xfsettingsd.
are being created correctly, but the problem seems to be in the way they are being passed to xrdb. Xfsettingsd creates the files and then passes them to xrdb by running "xrdb -nocpp -merge <filename>". The command xrdb is executed asynchronously using g_spawn_command_line_async. Because of this, xfsettingsd may detach before it has set up the configuration. Other parts of xfce4 may even get started without them seeing all the configuration. In some situations some of the configuration didn't appear with "xrdb -query" at all, which would indicate some sort of race condition.
A short sh script I used for testing:
while true; do
Fixing it requires a bit too much work for me right now, so I'm going to work around it by merging the created files using xrdb once again after xfsettingsd is started. Anyone else noticed this?
The bug seems to be alike with the one reported here: http://bugs.gentoo.org/show_bug.cgi?id=293426
The same bug exists in the development version too (as of 2010-12-19):
http://git.xfce.org/xfce/xfce4-settings … registry.c
It should be trivial to write a fix based on
http://git.gnome.org/browse/gnome-setti … b86148388a
I'll see if I have some spare time tomorrow to write a patch for it.
EDIT: Created http://bugzilla.xfce.org/show_bug.cgi?id=7014
Last edited by boro (2010-12-19 16:16:50)