Re: X11-2.3.2_rc4 X11.app problem
Re: X11-2.3.2_rc4 X11.app problem
- Subject: Re: X11-2.3.2_rc4 X11.app problem
- From: jernigan <email@hidden>
- Date: Sun, 21 Dec 2008 22:25:52 -0800
Jamie,
I'm using bash, but the script is using zsh. The problem was that the
shell script was not getting executed at all. The script is my kludge
of scripts written by others. Here it is though:
#!/bin/zsh
# Start an xdm session but in a nested window.
# This routine uses Xephyr which has a very limited geometry capability,
# so to get more flexibility in window placement use something like
this:
# xterm -geometry 265X88+1600+30 -e "RunXephyrInWindow hydra.gat.com"
# where the xterm opens a window of given size and location then run
this
# script to open the xdm session to $1
# The last 6 lines of the script add some fonts useful for CDE
# Based on startwm by William Scott (UCSC?)
# Modified to use Xephyr in X11 for Mac OS X 10.5.5
# and to use CDE font substitution by Graham Jenkins in Linux Gazette
#88
#- Tom Jernigan 2008-09-25
#
# 12/15/2008 TCJ to default to hydra.gat.com if invoked with no
parameter
# Note: in the z shell:
# the notation $$[-2,-1] expands to the
# last 2 digits of the process ID
# the notation ${1:-hydra.gat.com} expands to hydra.gat.com if the
# first parameter is absent (or null).
Xephyr :$$[-2,-1] -query ${1:-hydra.gat.com} -once -ac -parent
$WINDOWID \
-fp /usr/X11/lib/X11/fonts/100dpi,/usr/X11/lib/X11/fonts/75dpi,\
/usr/X11/lib/X11/fonts/OTF,/usr/X11/lib/X11/fonts/Speedo,\
/usr/X11/lib/X11/fonts/TTF,/usr/X11/lib/X11/fonts/Type1,\
/usr/X11/lib/X11/fonts/cyrillic,\
/usr/X11/lib/X11/fonts/misc,/usr/X11/lib/X11/fonts/util,\
/Users/jernigan/cdefontsdirectory/local
Tom Jernigan, Oak Ridge National Lab, email@hidden
Presently at General Atomics, San Diego, (858) 455-4122
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden