Re: many xterm & x11 questions
Re: many xterm & x11 questions
- Subject: Re: many xterm & x11 questions
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 20 Oct 2005 10:08:17 -0400
On 10/20/05,
Patrick J. Collins <
email@hidden> wrote:
Hi everyone, I just switched over from iTerm to X11 & Xterm.
Ok, I have a question: why? :) I just made the opposite
switch. xterm is too buggy for me; crashes on resize in Panther,
for instance.
#1: how can I make it so X11 on launch does NOT open xterm automatically?
Create a file in your home directory called .xinitrc. Put into it
whatever commands you want to run when you launch X11.
Important notes:
1. the file is run just as if you'd typed the commands in a terminal window, which means that if you do this:
xterm
xterm
the second xterm will never open until the first one is
closed. Put all but the last command in the file into the
background using the shell's & syntax:
xterm &
xterm
2. once you have a .xinitrc, it replaces the system one entirely -
which means that you don't get a window manager unless you put it in
there, too. For the "make X11 windows look like Mac windows" behavior, the window manager you want to run is quartz-wm.
3. whatever the last foreground (no &) command in the file is, when
that program exits, it takes your X11 session with it. So it's
usually best to make that the place where you run the window manager.
#2: how can I make it so that when I launch xterm, that the window's position
is not set to 0,0-- but rather somewhere in the middle of the screen?
Use the -geom (geometry) option to xterm. The arguments are
WIDTHxHEIGHT+HORIZONTAL_OFFSET+VERTICAL_OFFSET, where WIDTH and HEIGHT
are measured in character cells (default is 80x24) and
HORIZONTAL_OFFSET and VERTICAL_OFFSET are measured in pixels. So
to get a standard 80x24 window whose upper left corner is in the middle
of your 1280x1024 screen, use xterm -geom 80x24+640+512. To make
it stick, use the X11 menus to edit the command that gets run when you
use command-N.
#3: when I set "defaults write com.apple.x11 enable_system_beep -boolean
false" for --Don't use the standard system beep effect for X11 alerts... It
appears to beep with a sinewave-- Is there a way to replace this with an aiff
or wav file?
That I don't know.
#4: my background of xterm is black (as I like it), however, I find that my
mouse cursor becomes black when it enters the window... Therefore making it
virtually impossible to see my cursor.. Is there a way to make my mouse cursor
more visible?
The mouse cursor color should change to match your xterm's foreground
text color. If you really have it set to black background and
white letters, then the mouse cursor should be white. If,
however, you have it set to white background and black letters plus
"reverse mode", the cursor will stay black. So use -bg and -fg
instead of -rv to get your black background.
#5: has anyone modified/hacked xterm so that command-v works instead of only
middle-click?
Not that I know of with xterm. There are other X11 terminal
programs which participate in explicit command-based copy/paste
schemes, usually associated with a desktop environment like KDE or
GNOME.
--
Mark J. Reed <
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden