The xosview ebuild installs a resources file as "/etc/X11/app-defaults/XOsview", but the application doesn't look in that place for its resources. Reproducible: Always Steps to Reproduce: 1. edit "/etc/X11/app-defaults/XOsview" 2. run xosview Actual Results: the changes have no effect. Expected Results: the appearance of xosview should reflect the settings in "/etc/X11/app-defaults/XOsview". Xosview looks for a "XOsview" file in "/usr/lib/X11/app-defaults", "/usr/X11R6/lib/X11/app-defaults", "/usr/openwin/lib/X11/app-defaults", and "/usr/local/X11R6/lib/X11/app-defaults". The first directory is added by "files/xosview-resdir.patch", i.e., gentoo-specific. I think that in some older versions of xorg "/usr/lib/X11/app-defaults" was a symlink to "/etc/X11/app-defaults", so xosview would have found the file, but now "/usr/lib/X11/app-defaults" doesn't exist (at least on my computer). The correct search path for xorg would be: 1. "/etc/X11/app-defaults" 2. "/usr/share/X11/app-defaults" 3. "/usr/lib/X11/app-defaults" (Locale-specific directories could be prepended, too. But I think that's going too far.) Resolution: The patch "files/xosview-resdir.patch" should be changed such that the "XOsview" file is searched in "/etc/X11/app-defaults" and "/usr/share/X11/app-defaults", too. Since xosview loads all resource files it finds, "/etc/X11/app-defaults" should be searched *last*.
fixed