Removing the Quit Confirmation Dialog in X11

X11.jpg

One of the nice things I like about Mac OS X 10.5 (Leopard) is the new way that X11 is launched. With launchd it's just a matter of a second or two when X11 tries to connect back and it's launched. Excellent. But it's not perfect.

When you close X11, it prompts you for a confirmation dialog, and there's no preference setting to say "don't confirm close". But some clever individual found a hidden defaults setting that does just that.

  defaults write org.x.x11 no_quit_alert -bool YES

And then the next time you launch X11 it'll not ask you 'are you sure?' when you want to quit. Nice.