Re: stuck with only 1 xterm in X
Hi,
Firstly, you could try starting the second xterm inside the
first one like so:
% xterm &
See the `&' symbol? That send the xterm launched into the background,
and returns your command prompt on the first xterm. Voila! tow
command prompts ;-)
Secondly, you should look into installing and running a window
manager like twm (the standard, vanilla window manager), fvwm2 (the
middle of the road window manager), fvwm95 looks like windows ;-(;
wmaker (supposedly, the window manager fo the future, still lacks
feature I have grown used to). However, this is highly subh=jective,
and doubtless I shall be flamed ercilessly.
When starting, X looks for a file called .xsession (or
.xinitrc, I forget what the default is now). I am including a copy of
my .xsession to use as an example (do not just copy it over, I have a
myriad of things in there that you do not need).
Hope this helps.
manoj
--
"Ignorance is the soil in which belief in miracles grows." Robert
G. Ingersoll
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
cut below
#!/bin/sh
# Merge in defaults and keymaps
umask 022
export default_dir=${default_dir:=$HOME}
userresources=$default_dir/.Xresources
usermodmap=$default_dir/.Xmodmap
sysresources=/usr/lib/X11/xdm/.Xresources
sysmodmap=/usr/lib/X11/.Xmodmap
# load common variables
if test -f $default_dir/.bash_vars ; then
. $default_dir/.bash_vars
fi
if [ ! $DISPLAY -o $DISPLAY = ":0.0" ]; then
DISPLAY=`hostname`:0
fi
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
# This is useful if you use ssh
eval $(ssh-agent)
ssh-add </dev/null &
xset -c b 95 s default &
#xwrits +frugal +iconified +clock +beep +breakclock +lock &
#xearth -pos 42.22.41 -77.75 #-orbit 51.6 234.8
##xearth -label -grid -pos orbit,1,41.67 -fork
#tvtwm -s &
#nice xcb -l v -geometry 200x500-0+365 &
#nice sunclock -icongeometry -0+0 -iconic &
#xvtdl &
#nice pland &
xicon &
#nice xmultibiff -mail ~/var/spool/mail/{important,admin,digital,bcast} &
#nice xwalld &
if [ -z "$MANPATH" ]; then
MANPATH=/usr/local/man:/usr/man; export MANPATH
fi
# Start some shelltools and the window manager
if test -x /usr/bin/X11/fvwm2; then
#fvwm2 -f "FvwmM4 -m4prog /usr/bin/m4 .fvwm2rc" &
/usr/bin/X11/fvwm2 &
elif [ -x /usr/bin/X11/fvwm ]; then
/usr/bin/X11/fvwm &
elif [ -x /usr/bin/X11/twm ]; then
/usr/bin/X11/twm &
fi
# xkeycaps -kbd ms104 &
exec xterm -ut -T login -n login -fg Black -bg LightSteelBlue -geometry 80x24+10+93 -ls
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: