Leopard and anoying X11 icon

keitaro85

macrumors member
Original poster
Jun 5, 2007
35
0
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
 

dr_lha

macrumors 68000
Oct 8, 2003
1,587
0
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.
 
Comment

keitaro85

macrumors member
Original poster
Jun 5, 2007
35
0
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.
 
Comment

Similar threads

Replies
3
Views
391
  • jasonfodor
0
Replies
0
Views
299
  • hawkeye_a
7
Replies
7
Views
647
  • A68AGamingYT
0
Replies
0
Views
276
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.