Regen docs after more path modularizing; --nosysconfig correction

This commit is contained in:
Bill Kendrick 2024-04-27 11:07:45 -07:00
parent 5f8e2b51bd
commit 9c2a75455d
28 changed files with 197 additions and 243 deletions

View file

@ -585,7 +585,7 @@ Tux Paint is using options I didn't specify!
It then examines the user's personal configuration file:
~/.tuxpaintrc
/home/username/.tuxpaintrc
Finally, any options sent as command-line arguments are used.
@ -606,8 +606,8 @@ Tux Paint is using options I didn't specify!
nosound=yes
...then you can reenable sound by either adding this option to your own
".tuxpaintrc" file:
...then you can reenable sound by either adding this option to your own "/
home/username/.tuxpaintrc" file:
sound=yes
@ -615,14 +615,13 @@ Tux Paint is using options I didn't specify!
--sound
Linux and Unix users can also disable the system-wide configuration file by
including the following command-line argument:
On platforms where Tux Paint offers a system-wide configuration file, the
settings in that file may be skipped (so only the user configuration file
and other command-line arguments will be used) by including the following
command-line argument:
--nosysconfig
Tux Paint will then only look at "~/.tuxpaintrc" and command-line arguments
to determine what options should be set.

View file

@ -47,8 +47,7 @@ The file is simply a plain text file containing the options you want enabled:
Linux and Unix Users
The file you should create is called ".tuxpaintrc" and it should be placed in
your home directory. (a.k.a. "~/.tuxpaintrc" or "$HOME/.tuxpaintrc")
/home/username/.tuxpaintrc
System-Wide Configuration File
@ -73,8 +72,7 @@ at:
Windows Users
The file you should create is called "tuxpaint.cfg" and it should be placed in
in your personal AppData folder: C:\Users\username\AppData\Roaming\TuxPaint\
C:\Users\username\AppData\Roaming\TuxPaint\tuxpaint.cfg
You can use NotePad or WordPad to create this file. Be sure to save it as Plain
Text, and make sure the filename doesn't have ".txt" at the end...
@ -85,7 +83,7 @@ Before this file is read, a system-wide configuration file is read. (By
default, this configuration has no settings enabled.) It is normally located
at:
C:\Program Files\Tuxpaint
C:\Program Files\TuxPaint\tuxpaint.cfg
Haiku Users
@ -1616,11 +1614,11 @@ Button Shortcuts
(For Linux and Unix users)
If any of the above options are set in "/etc/tuxpaint/tuxpaint.config", you
can override them in your own "~/.tuxpaintrc" file.
If any of the above options are set in "/etc/tuxpaint/tuxpaint.conf", you
can override them in your own "/home/username/.tuxpaintrc" file.
For true/false options, like "noprint" and "grab", you can simply say they
equal 'no' in your "~/.tuxpaintrc" file:
equal 'no' in your "/home/username/.tuxpaintrc" file:
noprint=no
uppercase=no
@ -1777,8 +1775,8 @@ Button Shortcuts
Under Linux and Unix, this prevents the system-wide configuration file,
"/etc/tuxpaint/tuxpaint.conf", from being read.
Only your own configuration file, "~/.tuxpaintrc", if it exists, will
be used.
Only your own configuration file, "/home/username/.tuxpaintrc", if it
exists, will be used.

View file

@ -746,7 +746,7 @@
<blockquote>
<p>
<code>~/.tuxpaintrc</code>
<code>/home/username/.tuxpaintrc</code>
</p>
</blockquote>
@ -774,7 +774,7 @@
This means that if anything is set in a configuration file that you don't want set, you'll need to either change the config. file (if you can), or override the option on the command-line. </p>
<p>
For example, on Linux and Unix, if "/etc/tuxpaint/tuxpaint.conf" includes this option to disable sound... </p>
For example, on Linux and Unix, if "<code>/etc/tuxpaint/tuxpaint.conf</code>" includes this option to disable sound... </p>
<blockquote>
<p>
@ -783,7 +783,7 @@
</blockquote>
<p>
...then you can reenable sound by either adding this option to your own ".tuxpaintrc" file: </p>
...then you can reenable sound by either adding this option to your own "<code>/home/username/.tuxpaintrc</code>" file: </p>
<blockquote>
<p>
@ -801,16 +801,13 @@
</blockquote>
<p>
Linux and Unix users can also disable the system-wide configuration file by including the following command-line argument: </p>
On platforms where Tux Paint offers a system-wide configuration file, the settings in that file may be skipped (so only the user configuration file and other command-line arguments will be used) by including the following command-line argument: </p>
<blockquote>
<p>
<code>--nosysconfig</code>
</p>
</blockquote>
<p>
Tux Paint will then only look at "~/.tuxpaintrc" and command-line arguments to determine what options should be set. </p>
</dd>
</dl>

View file

@ -169,7 +169,8 @@
</header>
<p>
The file you should create is called "<code><b>.tuxpaintrc</b></code>" and it should be placed in your home directory. (a.k.a. "<code>~/.tuxpaintrc</code>" or "<code>$HOME/.tuxpaintrc</code>") </p>
<code>/home/username/.tuxpaintrc</code>
</p>
</div>
<section class="indent"><!-- H3: System-Wide Configuration File -->
@ -218,7 +219,8 @@
</header>
<p>
The file you should create is called "<code><b>tuxpaint.cfg</b></code>" and it should be placed in in your personal AppData folder: <code>C:\Users\username\AppData\Roaming\TuxPaint\</code> </p>
<code>C:\Users\username\AppData\Roaming\TuxPaint\tuxpaint.cfg</code>
</p>
<p>
You can use NotePad or WordPad to create this file. Be sure to save it as Plain Text, and make sure the filename doesn't have ".txt" at the end... </p>
@ -232,10 +234,8 @@
<p>
Before this file is read, a system-wide configuration file is read. (By default, this configuration has no settings enabled.) It is normally located at: </p>
<blockquote>
<code>C:\Program Files\Tuxpaint</code>
</blockquote>
<p>
<code>C:\Program Files\TuxPaint\tuxpaint.cfg</code>
</p>
</section><!-- H3: System-Wide Configuration File -->
</section><!-- H2: Windows Users -->
@ -2374,10 +2374,10 @@
</p>
<p>
If any of the above options are set in "<code>/etc/tuxpaint/tuxpaint.config</code>", you can override them in your own "<code>~/.tuxpaintrc</code>" file. </p>
If any of the above options are set in "<code>/etc/tuxpaint/tuxpaint.conf</code>", you can override them in your own "<code>/home/username/.tuxpaintrc</code>" file. </p>
<p>
For true/false options, like "<code>noprint</code>" and "<code>grab</code>", you can simply say they equal 'no' in your "<code>~/.tuxpaintrc</code>" file: </p>
For true/false options, like "<code>noprint</code>" and "<code>grab</code>", you can simply say they equal 'no' in your "<code>/home/username/.tuxpaintrc</code>" file: </p>
<blockquote>
<code>noprint=no<br>
@ -2551,7 +2551,7 @@
Under Linux and Unix, this prevents the system-wide configuration file, "<code>/etc/tuxpaint/tuxpaint.conf</code>", from being read. </p>
<p>
Only your own configuration file, "<code>~/.tuxpaintrc</code>", if it exists, will be used. </p>
Only your own configuration file, "<code>/home/username/.tuxpaintrc</code>", if it exists, will be used. </p>
</dd>
</dl>