Mailinglist Archive: opensuse (2047 mails)
|< Previous||Next >|
Re: [SuSE Linux] Where to autostart font server
- From: hekate@xxxxxxxxxxxxxxx (Michael Johnson)
- Date: Fri, 1 Jan 1999 13:07:18 -0800 (PST)
- Message-id: <Pine.LNX.4.03.9901011259490.11163-100000@xxxxxxxxxxxxxxxxxxxx>
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.
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.
> 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
> # TrueType font installation
> /usr/X11R6/bin/xfstt --sync
> /usr/X11R6/bin/xfstt &
> # End of TrueType font installation
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
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.
To get out of this list, please send email to majordomo@xxxxxxxx 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>>
|< Previous||Next >|