Re: X11 startup script on 10.6
Re: X11 startup script on 10.6
- Subject: Re: X11 startup script on 10.6
- From: Jeremy Huddleston <email@hidden>
- Date: Mon, 20 Sep 2010 16:31:37 -0700
On Sep 20, 2010, at 15:36, Drew Harris wrote:
> Hello,
>
> I need to ensure that some extra fonts are loaded upon starting X11 (Snow Leopard on Macbook) to view a Mathematica session over NX.
>
> I'm able to use "xset fp+ /pathtofonts; xset fp rehash" and this properly loads the fonts, however, I'd like for this to happen when X11 starts.
See /usr/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh
Just put them in ~/.fonts and you should be fine.
> I've tried putting this in /usr/X11/lib/X11/xinit/xinitrc
Do not edit that file. It is "owned" by the system and subject to being updated (thus trashing your edits) when you run a Software Update.
> , and I've tried copying xinitrc to ~/.xinitrc
Please don't use ~/.xinitrc either ... use ~/.xinitrc.d if you need to override something per-user.
> and adding those lines in near the bottom. I've even tried putting them near the top, but regardless of what I do, this script does not appear to be run upon X11 startup.
>
> Am I missing something? Is there another default X startup script somewhere?
yes, xinitrc is the startup script. it executes everything in your ~/.xinitrc.d directory which is executable. Your best bet is to place the fonts in ~/.fonts (if you want them only for X11) or ~/Library/Fonts (if you want them for X11 and the rest of OS X).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden