Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 in Leopard: xterm on start-up





On 10/28/07, Bob Greschke <email@hidden> wrote:


OK.  Cooling off.  Bugs are OK.  Now if we can just get rid of that
'automatically starting xterm when you click on the X11 icon' bug
we'll be in business. :)  It's like the menu commands you stick in
don't pass the command line arguments.  "xterm" is OK, but "xterm -
geom..." is not.

Bob


For anyone who's interested, I just tried XDroplets for the first time and they seem to work on Leopard with a tweak to the launcher.sh script each contains.

For example, I wanted to create a doc icon for mrxvt (a terminal) so I copied the XDroplet for Konsole to my disk and edited the /Konsole.app/Contents/Resources/launcher.sh script it contains, so that the PROGRAM and ARGUMENTS reflected my needs, then commented out the section at the end of the script that looks like this:

# bring X11 application to front
if [ $USEX11 -eq 1 ]
then
  /usr/bin/open -a "$x11"
fi

This prevents the extra xterm from being launched. It works well for me. The only issue is that the terminal doesn't automatically get focus, not a huge deal for me.

- Peter

(oh yeah, Hi!, I'm new here)

 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >X11 in Leopard: xterm on start-up (From: Robert Tillyard <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Martin Costabel <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Bob Greschke <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: "Mark J. Reed" <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Bob Greschke <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Peter O'Gorman <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Bob Greschke <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Patrick Coskren <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Ben Byer <email@hidden>)
 >Re: X11 in Leopard: xterm on start-up (From: Bob Greschke <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.