On Jan 01, 1999, Steve Crane wrote:
> 
> I am running SuSE 5.3 and have installed the xfstt TrueType font
> server.  It works fine if I start it manually and then run
> 
>     xset fp+ unix/:7100
> 
> However I want it to start automatically and am not sure which script
> I should run the file from.
[...]

I don't always run X, so I added the xfstt commands to my startx 
script. That way I don't start xfstt unless and until I really do need 
it. I use the script toggle-xfstt, shown below, and call it as the 
first and last commands in startx:

# This script starts/kills the xfstt font server and allows
# a 3 sec delay before the X server is started.
toggle-xfstt
sleep 3
.
.
.
# This script starts/kills the xfstt font server
toggle-xfstt

The toggle-xfstt script:
***************************************************
#!/bin/sh
if [ -z "`ps ax|grep -E ' xfstt'|grep -v 'grep'`" ];
    then
    echo "There is no xfstt running. Start now"
    xfstt --res 105 &
    else
    echo "There IS an xfstt running. Kill it"
    killall -v xfstt
fi
***************************************************

Not elegant, but it works for me.
Howard Arons
-- 
Powered by SuSE Linux 5.2 -- kernel 2.0.33
Communications by Mutt 0.93.2
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to