How to suppress .xinitrc warning dialog?
I am creating a pkg installer which includes a custom ~/.xinitrc file on the target machine. 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? Thanks, Dave
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
participants (2)
-
Dave Ray
-
Jeremy Huddleston