Re: Cmd-q gets through
Re: Cmd-q gets through
- Subject: Re: Cmd-q gets through
- From: Jeremy Huddleston <email@hidden>
- Date: Sat, 16 Feb 2008 11:05:14 -0800
Peter, can you try throwing this inside of your /usr/X11/bin/startx
(maybe after the line "defaultdisplay=":$d" by the other Apple stuff)
if [[ -x /usr/X11/bin/font_cache.sh ]] ; then
if [[ -d ${HOME}/.fontconfig ]] ; then
/usr/X11/bin/font_cache.sh &
else
echo "startx: First time running X11 detected. Waiting for initial
font cache to build. X11 will start quicker next time."
/usr/X11/bin/font_cache.sh
fi
fi
You can then remove the corresponding line from xinitrc. Please let
me know if this feels like a more solid solution to you. I actually
prefer this, and unless there is some push-back, I think I'll commit
this change for the next release.
On Feb 16, 2008, at 07:04, Peter Collinson wrote:
On 16 Feb 2008, at 12:09, Jeremy Huddleston wrote:
i.
Right, I'm not asking about the .Xresources race condition. My
question is separate. Given this sequence:
[1] rm -rf ~/.fontconfig
[2] Launch X11.app
[3] Quit X11.app
[4] Launch X11.app
Is your experience in [4] what you were hoping for, or were [2] and
[4] identical? If [4] is right and [2] is wrong, then it's just
that you didn't have a vaid font cache yet. Perhaps I can put the
cacheing in startx and have the server wait for it to finish before
starting...
--Jeremy
In [2] it's evident that the font settings I am expecting are not
correct.
I let the cache build before doing [3].
For [4] they are.
However, always waiting for it to be rebuild is making us all pay
for an initial startup problem.
Perhaps the wait until it's built is only really necessary
if .fontconfig does not exist?
(I keep wishing for some X utility that I can poke into a window
and it tells me the resource settings that are extant - I keep
wanting to know what font is in use and have done for years).
On 16 Feb 2008, at 11:06, Jeremy Huddleston wrote:
Peter,
if anything, you should have a delay the first time starting X
(when there is no font cache). The second time, it should work
fine (since it has the cache there, and it doesn't need to
update). Can you verify that for me?
On Feb 16, 2008, at 02:12, Ben Byer wrote:
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden