[SuSE Linux] Where to autostart font server
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 saw a post on Usenet that said the font server run command should be added to the /etc/rc.d/rc.local file. The post said this would work on RH and Slackware. Not finding an rc.local file in /etc/rc.d I created it. I then added a new font path to XF86Config with FontPath "unix/:7100" When I ran startx (after a restart as my kids had been in Win98 in the meantime) it failed with an invalid font path. I ran xfstt& manually and startx worked, so clearly the rc.local file did not work. Where should I have added the run commands? I want to add the following. # TrueType font installation /usr/X11R6/bin/xfstt --sync /usr/X11R6/bin/xfstt & # End of TrueType font installation Thanks. Steve Crane stevec@netlane.com <A HREF="http://www.datapro.co.za/~stevec"><A HREF="http://www.datapro.co.za/~stevec</A">http://www.datapro.co.za/~stevec</A</A>> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Fri, 1 Jan 1999, Steve Crane wrote:
However I want it to start automatically and am not sure which script I should run the file from. I saw a post on Usenet that said the font server run command should be added to the /etc/rc.d/rc.local file. The post said this would work on RH and Slackware. Not finding an rc.local file in /etc/rc.d I created it.
I then added a new font path to XF86Config with
FontPath "unix/:7100"
When I ran startx (after a restart as my kids had been in Win98 in the meantime) it failed with an invalid font path. I ran xfstt& manually and startx worked, so clearly the rc.local file did not work.
Where should I have added the run commands? I want to add the following.
# TrueType font installation /usr/X11R6/bin/xfstt --sync /usr/X11R6/bin/xfstt & # End of TrueType font installation
Thanks. The way I did it was I created a script 'xfstt' in /sbin/init.d and then used rctab to add the script to those that run at run time. For me this way was easiest. The script is really a basic 'case' statement like most of the init scripts. The rctab just adds it to the runlevels of your choice. If you decide to do things this way as opposed to using /sbin/init.d/random or /sbin/init.d/boot.local and don't know how the
The S.u.S.E. init stuff in in /sbin/init.d, so if you want a rc.local equiv use /sbin/init.d/boot.local. script should look or whatever lemme know and I can send you the script and simple instructions on how I run it on my machine. Hope this helps. Bye, -M - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
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 majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
How did you get the bloody thing to work? I run xfstt --sync and it complains that it couldn't find any valid truetype fonts. In fact I have 240 different ttf files there. 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 saw a post on Usenet that said the font server run command should be added to the /etc/rc.d/rc.local file. The post said this would work on RH and Slackware. Not finding an rc.local file in /etc/rc.d I created it.
I then added a new font path to XF86Config with
FontPath "unix/:7100"
When I ran startx (after a restart as my kids had been in Win98 in the meantime) it failed with an invalid font path. I ran xfstt& manually and startx worked, so clearly the rc.local file did not work.
Where should I have added the run commands? I want to add the following.
# TrueType font installation /usr/X11R6/bin/xfstt --sync /usr/X11R6/bin/xfstt & # End of TrueType font installation
Thanks.
Steve Crane stevec@netlane.com <A HREF="http://www.datapro.co.za/~stevec"><A HREF="http://www.datapro.co.za/~stevec</A">http://www.datapro.co.za/~stevec</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
The mail you are responding to, was sent on January 3rd ( not sure why but have seen some really old mails slip threw recently (?)). There was a thread about this a while back. You might want to scan the archives... and double check the packages instructions. You have to do a few things besides just run --sync to have a working xfstt font server. On Tue, 19 Jan 1999, Ken Ingram wrote:
How did you get the bloody thing to work?
I run xfstt --sync and it complains that it couldn't find any valid truetype fonts. In fact I have 240 different ttf files there.
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 saw a post on Usenet that said the font server run command should be added to the /etc/rc.d/rc.local file. The post said this would work on RH and Slackware. Not finding an rc.local file in /etc/rc.d I created it.
I then added a new font path to XF86Config with
FontPath "unix/:7100"
When I ran startx (after a restart as my kids had been in Win98 in the meantime) it failed with an invalid font path. I ran xfstt& manually and startx worked, so clearly the rc.local file did not work.
Where should I have added the run commands? I want to add the following.
# TrueType font installation /usr/X11R6/bin/xfstt --sync /usr/X11R6/bin/xfstt & # End of TrueType font installation
Thanks.
Steve Crane stevec@netlane.com <A HREF="http://www.datapro.co.za/~stevec"><A HREF="http://www.datapro.co.za/~stevec</A">http://www.datapro.co.za/~stevec</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (4)
-
hekate@intergate.bc.ca
-
hlarons@ComCAT.COM
-
kingram@navis.com
-
tux@datapro.co.za