image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old November 8th, 2003, 09:32 AM
Registered User
 
Join Date: Nov 2003
Location: Misery aka Boston, MA
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
donkey is on a distinguished road
X11 automagic xterm

is there a way to keep xterm from starting up when i start X11? i have some applescript goodies to launch X11 apps, but when it starts up X11 it throws an xterm window up there which i then have to go close. annoying.
Reply With Quote
  #2  
Old November 8th, 2003, 09:56 AM
mr. k's Avatar
Registered User
 
Join Date: Oct 2002
Location: mpls. mn
Posts: 1,408
Thanks: 0
Thanked 0 Times in 0 Posts
mr. k is on a distinguished road
I think that you need to change your .xinitrc file, that is where the xtrem is launched. Here is mine, I will comment by the line that starts the xterm. Just comment it out (with #) or delete it.
Code:
#!/bin/sh
# $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $

#added by kjell 10/30/03 -- setting up x11 to play ball with fink
source /sw/bin/init.sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start some nice programs

xterm & #launches an xterm, which you don't want.

# start the window manager

exec quartz-wm
__________________
iMac G3 600Mhz, 256MB RAM, 40GB HD, 10.3.5
20GB iPod (Click Wheel) w/ Griffin iTrip // AIM:kjell05
Reply With Quote
  #3  
Old February 26th, 2006, 10:52 AM
tomdkat's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 197
Thanks: 6
Thanked 0 Times in 0 Posts
tomdkat is on a distinguished road
This is exactly what I was looking for! Thanks!

Peace...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 06:32 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.