261 lines
10 KiB
HTML
261 lines
10 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<title>
|
|
Documentación de variábeis de contorno de Tux Paint </title>
|
|
<meta http-equiv="Content-Type"
|
|
content="text/html; charset=utf-8">
|
|
<style>
|
|
body { font-size: large; }
|
|
table { font-size: large; }
|
|
div.screenshot-center {
|
|
text-align: center;
|
|
}
|
|
div.screenshot-right {
|
|
float: right;
|
|
margin-left: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
div.screenshot-right-after {
|
|
clear: both;
|
|
}
|
|
div.keeptogether { page-break-inside: avoid; }
|
|
section h1 { font-size: 2em; }
|
|
h1, h2, h3, h4, h5 { font-family: sans; }
|
|
h1 { color: #800; page-break-before: always; break-before: always; }
|
|
h2 { color: #440; page-break-after: avoid; break-after: avoid; }
|
|
h3 { color: #080; page-break-after: avoid; break-after: avoid; }
|
|
h4 { color: #008; page-break-after: avoid; break-after: avoid; }
|
|
h5 { color: #808; page-break-after: avoid; break-after: avoid; }
|
|
h1 + p { page-break-inside: avoid; }
|
|
h2 + p { page-break-inside: avoid; }
|
|
h3 + p { page-break-inside: avoid; }
|
|
h4 + p { page-break-inside: avoid; }
|
|
h5 + p { page-break-inside: avoid; }
|
|
dt {
|
|
font-size: large;
|
|
color: #404;
|
|
font-family: sans;
|
|
margin-top: 1em;
|
|
margin-bottom: 0.25em;
|
|
}
|
|
dd, blockquote {
|
|
border-left: 1px solid #888;
|
|
padding-left: 1em;
|
|
border-radius: 0 0 0 1em;
|
|
}
|
|
p.note {
|
|
border: 1px solid #000;
|
|
background-color: #eee;
|
|
border-radius: 0.5em;
|
|
padding: 0.5em;
|
|
display: inline-block;
|
|
margin-right: 3em;
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
section.outer {
|
|
padding-bottom: 1em;
|
|
border-bottom: 2px solid #000;
|
|
}
|
|
section.indent p,dl {
|
|
margin-left: 2em;
|
|
}
|
|
section.indent dl p {
|
|
margin-left: 0;
|
|
}
|
|
p + ul, p + ol {
|
|
margin-left: 2em;
|
|
}
|
|
|
|
@media print {
|
|
p {
|
|
orphans: 3;
|
|
widows: 3;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body bgcolor="#FFFFFF"
|
|
text="#000000"
|
|
link="#0000FF"
|
|
vlink="#FF0000"
|
|
alink="#FF00FF">
|
|
|
|
<section class="outer">
|
|
<header>
|
|
<center>
|
|
<h1>
|
|
<img src="../../html/images/tuxpaint-title.png"
|
|
width="205"
|
|
height="210"
|
|
alt="Tux Paint"><br>
|
|
versión 0.9.36<br/>
|
|
Documentación de variábeis de contorno </h1>
|
|
|
|
<p>
|
|
Copyright © 2021-2025 by varios colaboradores; see <a href="../../AUTHORS.txt">AUTHORS.txt</a>.<br>
|
|
<a href="https://tuxpaint.org/">https://tuxpaint.org/</a>
|
|
</p>
|
|
|
|
<p>
|
|
8 de Xuño de 2025 </p>
|
|
</center>
|
|
</header>
|
|
</section>
|
|
|
|
<section class="outer">
|
|
<p>
|
|
Tux Paint comprende unha serie de variábeis de contorno, ben directamente ou indirectamente polas bibliotecas que emprega. </p>
|
|
</section>
|
|
|
|
<section class="indent outer"><!-- H2: Storage-related environment variables -->
|
|
<header>
|
|
<h2>
|
|
Variábeis de contorno relacionadas co almacenamento </h2>
|
|
</header>
|
|
|
|
<dl>
|
|
<dt>
|
|
<code>HOME</code>
|
|
</dt>
|
|
|
|
<dd>
|
|
<p>
|
|
Especifica o «directorio persoal» do usuario, que se usa para localizar outros ficheiros ou directorios. Nalgúns casos, úsase como parte dunha situación alternativa, cando non se configuran outras variábeis de contorno (noutros lugares desta documentación). Ás veces, a localización a empregar pode ser anulada polas opcións fornecidas na liña de ordes ou a través do ficheiro de configuración de Tux Paint. Consulte a documentación de «OPCIÓNS» (OPTIONS) para máis detalles. </p>
|
|
|
|
<p>
|
|
Algúns exemplos de onde se usa «<code>$HOME</code>» inclúen: </p>
|
|
|
|
<ul>
|
|
<li>A localización do ficheiro de configuración de Tux Paint</li>
|
|
<li>A base de onde Tux Paint garda e carga os debuxos dos usuarios</li>
|
|
<li>A localización da colección privada de ficheiros de datos dun usuario — selos, pinceis, etc. — (fronte aos dispoñíbeis no sistema)</li>
|
|
</ul>
|
|
</dd>
|
|
|
|
<dt>
|
|
<code>XDG_CONFIG_HOME</code>
|
|
</dt>
|
|
|
|
<dd>
|
|
<p>
|
|
On Linux and other platforms where the X Desktop Group standards are used, the location of the user's configuration files. Specifically, where to find "<code>user-dirs.dirs</code>", where the "<code>XDG_PICTURES_DIR</code>" might be defined. It is used for exporting drawings and animated GIFs. Generally it's set to something like "<code>$HOME/Pictures/</code>". If not specified, Tux Paint checks in the directory "<code>$HOME/.config/</code>". If the configuration cannot be found, Tux Paint simply exports drawings and GIFs to "<code>$HOME</code>". </p>
|
|
|
|
<p>
|
|
Tux Paint also uses this to find FontConfig configuration files; see below. </p>
|
|
</dd>
|
|
|
|
<dt>
|
|
<code>XDG_DATA_HOME</code>
|
|
</dt>
|
|
|
|
<dd>
|
|
<p>
|
|
On Linux and other platforms where the X Desktop Group standards are used, the location of the user's data directories. Specifically, where to find the "<code>Trash</code>" directory. It is used when deleting images from Tux Paint's "Open" dialog. If not set, the location "<code>$HOME/.local/share/Trash/</code>" is used, if available. If not, images are simply deleted, rather than moved anywhere. </p>
|
|
</dd>
|
|
|
|
<dt>
|
|
<code>TEMP</code>
|
|
</dt>
|
|
|
|
<dd>
|
|
<p>
|
|
Especifica a localización onde se poden crear ficheiros temporais. Só o usa Tux Paint nos sistemas operativos Microsoft Windows. Emprega «<code>userdata</code>» se non se define. </p>
|
|
</dl>
|
|
</section><!-- H2: Storage-related environment variables -->
|
|
|
|
<section class="indent outer"><!-- H2: Language-related environment variables -->
|
|
<header>
|
|
<h2>
|
|
Variábeis de contorno relacionadas co idioma </h2>
|
|
</header>
|
|
|
|
<dl>
|
|
<dt>
|
|
<code>LANG</code>
|
|
</dt>
|
|
<dt>
|
|
<code>LANGUAGE</code>
|
|
</dt>
|
|
<dt>
|
|
<code>LC_ALL</code>
|
|
</dt>
|
|
<dt>
|
|
<code>LC_MESSAGES</code>
|
|
</dt>
|
|
|
|
<dd>
|
|
<p>
|
|
Specify the language Tux Paint should utilize in its user interface. Overridden by the "<code>--lang</code>" and "<code>--locale</code>" command-line options or their configuration file counterparts. The "<code>LANGUAGE</code>" environment variable is used, if set. If not, "<code>LC_ALL</code>" is used as a fallback. Then "<code>LC_MESSAGES</code>", and finally "<code>LANG</code>". </p>
|
|
</dd>
|
|
|
|
</dl>
|
|
</section><!-- H2: Language-related environment variables -->
|
|
|
|
<section class="indent outer"><!-- H2: Display-related environment variables -->
|
|
<header>
|
|
<h2>
|
|
Variábeisbles de contorno relacionadas co que se amosa </h2>
|
|
</header>
|
|
|
|
<p>
|
|
A seguir amósanse algunhas das variábeis de contorno compatíbeis con Simple DirectMedia Layer (libSDL) — que Tux Paint utiliza para amosar gráficos, reproducir sons e recibir entrada do rato, teclado e joystick — e que poden ser útiles para os usuarios de Tux Paint. </p>
|
|
|
|
<dl>
|
|
<dt>
|
|
<code>SDL_VIDEO_ALLOW_SCREENSAVER</code>
|
|
</dt>
|
|
<dd>
|
|
<p>
|
|
Especifica se Tux Paint debería permitir a execución dun protector de pantalla. Pode ser definido como «1» (verdadeiro) polo propio Tux Paint emitindo a opción de liña de ordes «<code>--allowscreensaver</code>» ou o seu equivaente no ficheiro de configuración. </p>
|
|
</dd>
|
|
<dt>
|
|
<code>SDL_VIDEO_WINDOW_POS</code>
|
|
</dt>
|
|
<dd>
|
|
<p>
|
|
Requests where to position Tux Paint's window, and can be used to specify what display to place a fullscreen Tux Paint in a multi-monitor configuration. If not set, or set to "<code>nopref</code>" (meaning "no preference"), Simple DirectMedia Layer (libSDL) decides. Can be set to an <code>X,Y</code> coordinate (e.g. <code>200,100</code>), or "<code>center</code>" (meaning "center"). </p>
|
|
</dd>
|
|
|
|
</dl>
|
|
</section><!-- H2: Display-related environment variables -->
|
|
|
|
<section class="indent outer"><!-- H2: Font-related environment variables -->
|
|
<header>
|
|
<h2>
|
|
Font-related environment variables </h2>
|
|
</header>
|
|
|
|
<p>
|
|
Tux Paint uses <cite>FontConfig</cite> (via <cite>Pango</cite>, in turn via <cite>SDL_Pango</cite>) to find fonts that may be used by the "Text" and "Label" tools. </p>
|
|
|
|
<dl>
|
|
<dt>
|
|
<code>FONTCONFIG_PATH</code>
|
|
</dt>
|
|
<dd>
|
|
<p>
|
|
Specifies where <cite>FontConfig</cite> should look for a "<code>fonts.conf</cite>" configuration file which Tux Paint examines for any "<code><dir></code>" tags, which it then uses to search for fonts that could be used by the tools. </p>
|
|
|
|
<ul>
|
|
<li>
|
|
Note: On Apple macOS, this is forced to be the "<code>Resources/etc</code>" folder, inside the Tux Paint application itself. </li>
|
|
<li>
|
|
Note: On Apple iOS, this is forced to be the "<code>etc</code>" folder, inside the Tux Paint application itself. </li>
|
|
</ul>
|
|
</dd>
|
|
<dt>
|
|
<code>XDG_CONFIG_HOME</code>
|
|
</dt>
|
|
<dd>
|
|
On Linux and other platforms where the X Desktop Group standards are used, the location of the user's configuration files. It is used to find a user-specific "<code>fonts.conf</code>" configuration file. </dd>
|
|
</dl>
|
|
|
|
<p class="note">
|
|
<span title="Configuration option">⚙</span> See the "<a href="EXTENDING.html"><em>Extending Tux Paint</em></a>" documentation for information on where Tux Paint searches for fonts. </p>
|
|
</section><!-- H2: Font-related environment variables -->
|
|
|
|
</body>
|
|
</html>
|
|
|