fvwm2 and xterm placement
Hi, I'm using fvwm2 for my windows manager under xdm. I'm trying
to get the initial xterm window to appear in the center of my screen instead
of the upper left hand corner. I looked at,
/usr/doc/fvwm2/README.sysrc.gz and it said to:
init.hook
Additional commands for the InitFunction, which is
automatically executed by fvwm upon startup. This
should
contain commands to start any programs you want to
always
start, such as a welcome screen or an xterm.
The lines in init.hook should be "continuation lines"
for a function, such as:
+ "I" Exec xterm
So I created a sub directory, .fvwm2 in my home directory and added the
following file,
~/.fvwm2$ cat init.hook
+ "I" exec xterm -geometry=80x40+154+137 &
I also tried editing, /etc/X11/Xsession changing the geometry line,
1)
case $1 in
failsafe)
if grep -q ^allow-failsafe /etc/X11/config; then
exec xterm -geometry 80x40+154+137
fi
;;
esac
;;
esac
I don't know what I'm doing wrong could one of you could help me out?
Thanks,
Kent
Reply to: