Accepting .Xdefaults by default
Currently, Debian doesn't support ~/.Xdefaults but does support
~/.Xresources. The ways to walk around this are to soft link or to change
it's name.
Since a $HOME directory might be shared between varius ditributions (on
boxes which might be used for testing distros, for example), to rename the
file may not work, so soft linking si the only way to walk around it. Any
way, it'd be far much better if Debian supported .Xdefaults in
/etc/X11/Xsession.d/30xfree86-common_xresources
Instead of:
if grep -qs ^allow-user-resources "$OPTIONFILE"; then
if [ -f "$USRRESOURCES" ]; then
xrdb -merge $USRRESOURCES
fi
fi
It could have something like:
if grep -qs ^allow-user-resources "$OPTIONFILE"; then
for USRRESOURCE in $USRRESOURCES; do
if [ -f "$USRRESOURCE" ]; then
xrdb -merge $USRRESOURCES
fi
done
fi
And /etc/X11/Xsession wouldn't contain:
USRRESOURCES=$HOME/.Xresources
But instead would contain:
USRRESOURCES="$HOME/.Xresources $HOME/.Xdefaults"
I'd like to know what other Debian users think. Thanx.
Reply to: