Re: Eliminating the xterm
Re: Eliminating the xterm
- Subject: Re: Eliminating the xterm
- From: Martin Costabel <email@hidden>
- Date: Tue, 13 Nov 2007 22:28:54 +0100
Nathaniel Gray wrote:
On Nov 13, 2007 1:44 AM, Martin Costabel <email@hidden> wrote:
[]
The ~/.xinitrc script is executed only the first time, as it should, but
the default xterm appears even when X11 is already running.
This looks like a bug. Shouldn't "open -a" or double-clicking the app
icon when the app is already running be equivalent to clicking the dock
icon or running the applescript 'tell app "X11" to activate'?
Arguably, yes. (Well, you really only ever need to *single-click*
dock icons, but I digress.) And that's what it does if you click the
*second* X11 dock icon that appears, because that's the icon
corresponding to /usr/X11/X11.app, which is the equivalent to
/A/U/X11.app in Tiger. Namely, it's the one that actually represents
the X server's process. (The *real* bug is what happens when you
launch *that* app from your dock.)
I don't have a second X11 icon in the dock, only the one that appears
when I either double-click the X11.app icon in /Applications/Utilities
or run some program that needs X11. Clicking that icon in the dock
(nobody talked about double-clicking dock icons BTW, but I digress ;-) )
brings X11 to the foreground. This is as it should be.
What is not as it should be is that when I double-click the X11 icon in
/Applications/Utilities while X11 is already running, it starts a second
xterm and then a third and so on. This is unlike, let's say
Terminal.app, where starting the app opens a window, but double-clicking
it again does not open a second window, it only brings the app to the
foreground.
But this is just a minor inconsistency, less annoying than others
everybody seems to have got used to. For me the most annoying little
inconsistency is that when I open an xterm by typing "xterm" in a
Terminal window, the xterm window opens on top of everything and looks
like it had focus, but in reality it does not; one first needs to click
it. It often happens to me that I have already typed a line of text or
one or two commands before I notice that they went into the wrong window...
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden