Re: Disable default quartz-wm xterm on launch?
Re: Disable default quartz-wm xterm on launch?
- Subject: Re: Disable default quartz-wm xterm on launch?
- From: Paul Schopf <email@hidden>
- Date: Tue, 21 Jan 2003 08:16:54 -0500
On Tuesday, January 21, 2003, at 02:25 AM, feorlen wrote:
On Monday, Jan 20, 2003, at 15:37 US/Pacific, Chris Devers wrote:
If all you want to do is start X11.app without that xterm...
I've been wondering about this too. I'd like it to start an xterm, but
one with some command line options. As it is now, I have to exit the
default one and start my own so it has scrollback and other useful
things.
I'd rather not mangle xterm itself by renaming just to get around
this. It may be a laptop, but it is still not a single user machine.
What you need to do is
1) create your own .xinitrc file. (sample below)
2) customize the Applications menu (don't worry, the customization
goes into the
user's ~/Library/Preferences/com.apple.x11.plist, so different
users can
have different choices
then you can either modify ~/.Xresources so the xterms have the
behavior you want,
or you can have the Applications menu execute xterm -sb
I don't have X11 start anything. If I want to run something I start
it from Terminal.
=========================
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/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
quartz-wm
============================
Then
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.