/usr/share/doc/s3d/ch01s03.html is in s3d-doc 0.2.2-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>The s3drc file</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><meta name="keywords" content="s3d, API, handbook, guide" /><link rel="home" href="index.html" title="S3D - a 3D Desktop Environment" /><link rel="up" href="ch01.html" title="Chapter 1. s3d - the server" /><link rel="prev" href="ch01s02.html" title="Moving in s3d" /><link rel="next" href="ch02.html" title="Chapter 2. libs3d - The S3D API" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">The s3drc file</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><th width="60%" align="center">Chapter 1. s3d - the server</th><td width="20%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr></table><hr /></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="s3drc"></a>The s3drc file</h2></div></div></div><p>
You can automatically fire up the mcp or anything you want with s3d and
have it closed when s3d goes down or vice versa:
</p><p>
just create a shellscript at position /etc/s3drc or ~/.s3drc, for example
have it starting the mcp. Don't forget to toggle it executable (chmod 755
or so).
</p><p>
When s3d starts, it will look for ~/.s3drc or /etc/s3drc (in this order),
and will start it along with the server. E.g. when you log out off your mcp,
the s3d server is shut down too.
</p><p>
You can disable this behavior with s3d --no-rc
</p><p>
For example my .s3drc looks like this:
</p><pre class="screen">
<code class="prompt">$</code> cat ~/.s3drc
#!/bin/sh
cd ~/msrc/s3d/apps/dot_mcp/
./dot_mcp
</pre></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Moving in s3d </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 2. libs3d - The S3D API</td></tr></table></div></body></html>
|