[Xquartz-dev] problem with X11 lockfiles in /tmp

Tom Lane tgl at sss.pgh.pa.us
Wed Jul 14 19:56:18 PDT 2010


Dave Ray <apple at jonive.com> writes:
> Tom, which OS version? What do our setups have in common that others  
> don't have?

10.6.4, absolutely bog standard.  The only thing that's non-default
about my X11 config is I have a ~/.xinitrc.d/, containing a workaround
for that font problem that was mentioned awhile ago.  That's been there
about two months:

pro:~ tgl$ ls -la .xinitrc.d
total 16
drwxr-xr-x   4 tgl  admin   136 May 18 01:18 ./
drwxr-xr-x  86 tgl  admin  2924 Jul 14 22:48 ../
-rwxr-xr-x   1 tgl  admin   546 May 18 01:18 10-fontdir.sh*
-rwxr-xr-x   1 tgl  admin   718 May 18 01:18 10-fontdir.sh~*
pro:~ tgl$ cat .xinitrc.d/10-fontdir.sh
if [ -x /opt/X11/bin/xset ] ; then
        fontpath="/opt/X11/lib/X11/fonts/misc/,/opt/X11/lib/X11/fonts/TTF/,/opt/X11/lib/X11/fonts/OTF,/opt/X11/lib/X11/fonts/Type1/,/opt/X11/lib/X11/fonts/75dpi/:unscaled,/opt/X11/lib/X11/fonts/100dpi/:unscaled,/opt/X11/lib/X11/fonts/75dpi/,/opt/X11/lib/X11/fonts/100dpi/"

        [ -e "$HOME"/.fonts/fonts.dir ] && fontpath="$fontpath,$HOME/.fonts"
        [ -e "$HOME"/Library/Fonts/fonts.dir ] && fontpath="$fontpath,$HOME/Library/Fonts"

        /opt/X11/bin/xset fp= "$fontpath"
        unset fontpath
fi

			regards, tom lane


More information about the Xquartz-dev mailing list