Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

keitaro85

macrumors member
Original poster
Does anyone know how to make it so that the X11 icon on the dock is never shown? for example, if i run java from terminal, the X11 icon pops up on my doc. This never happened in Tiger. Any ideas?

Thanks
 
Does anyone know how to make it so that the X11 icon on the dock is never shown? for example, if i run java from terminal, the X11 icon pops up on my doc. This never happened in Tiger. Any ideas?

Thanks
This is because in Leopard, X11 is run automatically whenever it thinks it is needed. In Tiger you had to run X11 manually. To stop this behaviour you can type:

unset DISPLAY

or if you are using tcsh instead of bash

unsetenv DISPLAY.
 
I have a bash profile which does:

unset DISPLAY

And I modified the ~/Libary/Preferences/org.x.x11.plist to not point to xterm. However, no matter what I do, an X11 icon always pops up when i launch something such as javac.

I've been scouring the net, and looked at the post TilJ linked to, but still no luck. Has anyone been able to launch anything X related, and not have an X icon on the dock show up?

Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.