Hi
> Some ideas. As I remember, in SRSS 4.1 under Solaris font path is set by
> an awful hack in utxsun (which is a sh script in /opt/SUNWut/lib/). It
> looks the following way:
> ...
> if [[ -f /etc/X11/XF86Config ]] ; then
> # match lines with FontPath that are not commented out,
> # accumulate the path, but remove double quotes before
> appending:
> FONTPATH=$($AWK '$1 == "FontPath" { fp = fp ","
> substr($2,2,length($2)-2) } \
> END { print substr(fp,2) } \
> ' /etc/X11/XF86Config)
> if [ x$FONTPATH != x ] ; then
> XMOREOPTS="-fp $FONTPATH"
> fi
> fi
> ....
> I actually don't know, how does it works in Linux, but try to look at
> this file.
It's basically the same in /opt/SUNWut/bin/utxsun
--> snip
# This is temporary for Beta. We need to figure out what the
# fontpath is for a particular system. We'll grep through the
# XF86Config file. For FCS we'll do this at install time and
# keep the path in a file.
if [[ -f /etc/X11/XF86Config ]] ; then
# match lines with FontPath that are not commented out,
# accumulate the path, but remove double quotes before appending:
FONTPATH=$($AWK '$1 == "FontPath" { fp = fp ","
substr($2,2,length($2)-2) } \
END { print substr(fp,2) } \
' /etc/X11/XF86Config)
if [ x$FONTPATH != x ] ; then
XMOREOPTS="-fp $FONTPATH"
fi
fi
-->
tho the file /etc/X11/XF86Config does nto exist.
I guess I couild try symlinking /etc/X11/XF86Config to
/etc/X11/xorg.conf, but is there a more official way?
(or I could just hard code the path!)
I note the comment "temporary for Beta" with a smile :-)
Kevin
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users