Use Fink's xorg package to bring X11 windows forward

Sep 08, '05 09:13:00AM

Contributed by: mino38

Apple's X11.app has an annoying bug where Command-Tab doesn't bring the X11 window(s) to the foreground -- you have to click on the X11 Dock icon (for all windows), or on a particular window, to bring them/it forward. A good solution:

  1. Install Fink.

  2. In Terminal, run these commands:
     $ sudo mv /usr/X11R6 /usr/X11R6.old
     $ sudo mv /etc/X11 /etc/X11.old
     $ sudo mv /Applications/Utilities/X11.app \
     /Applications/Utilities/X11.old.app
     $ sudo fink install xorg
     $ sudo fink install quartz-wm
    
    Note that you'll need your Mac OS CD for that last command.
Now you have an application, XDarwin.app, that replaces X11.app, but fixes the Command-Tab bug. You may also need to make a file named .xinitrc in your home directory, that contains a single line: exec /sw/bin/quartz-wm.

[robg adds: I haven't tested this one yet this morning, but will do so later today, as the Command-Tab problem bothers me quite a bit. If I find anything worth mentioning after testing, I'll post an update.]

Comments (20)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050904014840656