[Xquartz-dev] How to suppress .xinitrc warning dialog?
Jeremy Huddleston
jeremyhu at apple.com
Sat Jun 25 11:28:06 PDT 2011
On Jun 25, 2011, at 11:09, Dave Ray wrote:
> I am creating a pkg installer which includes a custom ~/.xinitrc file on the target machine.
Don't do that! Use ~/.xinitrc.d scripts
> On the first run of XQuartz (or if the plist is deleted) XQuartz throws a warning dialog asking if the .xinitrc file should be moved aside. Is there a way I can suppress this warning dialog? Is there a 'defaults write' command I can execute in the installer to take care of this?
It is there for a reason. Yes, you can suppress it with NSDefaults, but that is not the right thing to do. You should be using a ~/.xinitrc.d script.
--Jeremy
More information about the Xquartz-dev
mailing list