Checked tuxpaint-config source for where Mac config files live.

This commit is contained in:
William Kendrick 2008-12-14 03:06:34 +00:00
parent 257cefe555
commit 0c598088e0
2 changed files with 921 additions and 892 deletions

View file

@ -36,7 +36,7 @@ Linux and Unix Users
placed in your home directory. (a.k.a. "~/.tuxpaintrc" or placed in your home directory. (a.k.a. "~/.tuxpaintrc" or
"$HOME/.tuxpaintrc") "$HOME/.tuxpaintrc")
System-Wide Configuration File (Linux and Unix) System-Wide Configuration File
Before this file is read, a system-wide configuration file is read. Before this file is read, a system-wide configuration file is read.
(By default, this configuration has no settings enabled.) It is (By default, this configuration has no settings enabled.) It is
@ -54,16 +54,25 @@ Linux and Unix Users
Mac OS X Users Mac OS X Users
The file you should create is called "tuxpaint.cfg" and it should be The file you should create is called "tuxpaint.cfg" and it should be
placed in ... FIXME placed in your home folder, under the sub-folder: Library/Application
Support/TuxPaint
System-Wide Configuration File
Before this file is read, a system-wide configuration file is read.
(By default, this configuration has no settings enabled.) It is
located at:
/Library/Application Support/TuxPaint/tuxpaint.cfg
Windows Users Windows Users
The file you should create is called "tuxpaint.cfg" and it should be The file you should create is called "tuxpaint.cfg" and it should be
placed in Tux Paint's folder. placed in Tux Paint's folder.
You can use NotePad or WordPad to create this file. Be sure to save it You can use NotePad or WordPad to create this file. Be sure to save
as Plain Text, and make sure the filename doesn't have ".txt" at the it as Plain Text, and make sure the filename doesn't have ".txt" at
end... the end...
---------------------------------------------------------------------- ----------------------------------------------------------------------
@ -87,9 +96,9 @@ Windows Users
the default (usually 800x600). the default (usually 800x600).
The SIZE value should be presented in pixels, in The SIZE value should be presented in pixels, in
'width-by-height' format, with an "x" (lowercase X) between the 'width-by-height' format, with an "x" (lowercase X) between
values. The size can be anything that's at least 640 wide, and the values. The size can be anything that's at least 640 wide,
at least 480 tall. and at least 480 tall.
Some examples: Some examples:
* 640x480 * 640x480
@ -113,9 +122,9 @@ Windows Users
By default, Tux Paint prevents your system's screensaver from By default, Tux Paint prevents your system's screensaver from
starting up. You can override this by using the starting up. You can override this by using the
"allowscreensaver" option. Note: This requires version 1.2.12 or "allowscreensaver" option. Note: This requires version 1.2.12
higher of the SDL library. (You can also do this by setting the or higher of the SDL library. (You can also do this by setting
"SDL_VIDEO_ALLOW_SCREENSAVER" environment variable on your the "SDL_VIDEO_ALLOW_SCREENSAVER" environment variable on your
system to "1".) system to "1".)
nosound=yes nosound=yes
@ -125,8 +134,8 @@ Windows Users
noquit=yes noquit=yes
Disable the on-screen "Quit" button and prevent the [Escape] key Disable the on-screen "Quit" button and prevent the [Escape]
from quitting Tux Paint. key from quitting Tux Paint.
Using the [Alt] + [F4] keyboard combination or clicking the Using the [Alt] + [F4] keyboard combination or clicking the
window's close button (assuming you're not in fullscreen mode) window's close button (assuming you're not in fullscreen mode)
@ -152,12 +161,12 @@ Windows Users
lpr lpr
Note: Versions of Tux Paint prior to 0.9.15 sent PNG format data Note: Versions of Tux Paint prior to 0.9.15 sent PNG format
to the print command (which defaulted to data to the print command (which defaulted to
"pngtopnm | pnmtops | lpr"). "pngtopnm | pnmtops | lpr").
If you set an alternative printcommand in the configuration file If you set an alternative printcommand in the configuration
prior to version 0.9.15, you will need to change it. file prior to version 0.9.15, you will need to change it.
altprintcommand=COMMAND altprintcommand=COMMAND
@ -169,8 +178,8 @@ Windows Users
dialog, similar to when pressing [Alt]+'Print' in Windows and dialog, similar to when pressing [Alt]+'Print' in Windows and
Mac OS X.) Mac OS X.)
If this option is not specifically not set, the default command If this option is not specifically not set, the default
is KDE's graphical print dialog: command is KDE's graphical print dialog:
kprinter kprinter
@ -182,37 +191,38 @@ Windows Users
Push the [Alt] key while clicking the 'Print' button in Push the [Alt] key while clicking the 'Print' button in
Tux Paint to cause a Windows print dialog window to appear. Tux Paint to cause a Windows print dialog window to appear.
(Note: This only works when not running Tux Paint in fullscreen (Note: This only works when not running Tux Paint in
mode.) Any configuration changes made in this dialog will be fullscreen mode.) Any configuration changes made in this
saved to the file "userdata/print.cfg", and used again, as long dialog will be saved to the file "userdata/print.cfg", and
as the "printcfg" option is set. used again, as long as the "printcfg" option is set.
altprint=always altprint=always
This causes Tux Paint to always show the printer dialog (or, on This causes Tux Paint to always show the printer dialog (or,
Linux/Unix, run the "altprintcommand") when the 'Print' button on Linux/Unix, run the "altprintcommand") when the 'Print'
is clicked. In other words, it's like clicking 'Print' while button is clicked. In other words, it's like clicking 'Print'
holding [Alt], except you don't need to hold [Alt] every time. while holding [Alt], except you don't need to hold [Alt] every
time.
altprint=never altprint=never
This prevents Tux Paint from ever showing the printer dialog This prevents Tux Paint from ever showing the printer dialog
(or, on Linux/Unix, run the "altprintcommand") when the 'Print' (or, on Linux/Unix, run the "altprintcommand") when the
button is clicked. In other words, it makes the [Alt] key have 'Print' button is clicked. In other words, it makes the [Alt]
no effect when clicking the 'Print' button. key have no effect when clicking the 'Print' button.
altprint=mod altprint=mod
This is the normal, default behavior. Tux Paint shows a printer This is the normal, default behavior. Tux Paint shows a
dialog (or, on Linux/Unix, runs the "altprintcommand"), when the printer dialog (or, on Linux/Unix, runs the
[Alt] key is pressed while the 'Print' button is clicked. "altprintcommand"), when the [Alt] key is pressed while the
Clicking 'Print' without holding [Alt] prints without showing a 'Print' button is clicked. Clicking 'Print' without holding
dialog. [Alt] prints without showing a dialog.
papersize=PAPERSIZE papersize=PAPERSIZE
(Platforms that use Tux Paint's internal PostScript generator - (Platforms that use Tux Paint's internal PostScript generator
not Windows, Mac OS X or BeOS.) - not Windows, Mac OS X or BeOS.)
Tell Tux Paint what size PostScript to generate. If none is Tell Tux Paint what size PostScript to generate. If none is
specified, Tux Paint first checks your $PAPER environment specified, Tux Paint first checks your $PAPER environment
@ -233,28 +243,28 @@ Windows Users
example, by double-clicking a single-click launcher, or simply example, by double-clicking a single-click launcher, or simply
impatiently clicking the icon multiple times.) impatiently clicking the icon multiple times.)
To make Tux Paint ignore the lockfile, allowing it to run again, To make Tux Paint ignore the lockfile, allowing it to run
even if it was just launched less than 30 seconds ago, enable again, even if it was just launched less than 30 seconds ago,
this setting in the configuration file, or run Tux Paint with enable this setting in the configuration file, or run
the '--nolockfile' option on the command-line. Tux Paint with the '--nolockfile' option on the command-line.
By default, the lockfile is stored in "~/.tuxpaint/" under Linux By default, the lockfile is stored in "~/.tuxpaint/" under
and Unix, and "userdata\" under Windows. Linux and Unix, and "userdata\" under Windows.
simpleshapes=yes simpleshapes=yes
Disable the rotation step of the 'Shape' tool. Click, drag and Disable the rotation step of the 'Shape' tool. Click, drag and
release is all that will be needed to draw a shape. release is all that will be needed to draw a shape.
uppercase=yes uppercase=yes
All text will be rendered only in uppercase (e.g., "Brush" will All text will be rendered only in uppercase (e.g., "Brush"
be "BRUSH"). Useful for children who can read, but who have only will be "BRUSH"). Useful for children who can read, but who
learned uppercase letters so far. have only learned uppercase letters so far.
grab=yes grab=yes
Tux Paint will attempt to 'grab' the mouse and keyboard, so that Tux Paint will attempt to 'grab' the mouse and keyboard, so
the mouse is confined to Tux Paint's window, and nearly all that the mouse is confined to Tux Paint's window, and nearly
keyboard input is passed directly to it. all keyboard input is passed directly to it.
This is useful to disable operating system actions that could This is useful to disable operating system actions that could
get the user out of Tux Paint [Alt]-[Tab] window cycling, get the user out of Tux Paint [Alt]-[Tab] window cycling,
@ -266,8 +276,8 @@ Windows Users
This disable keyboard shortcuts (e.g., [Ctrl]-[S] for save, This disable keyboard shortcuts (e.g., [Ctrl]-[S] for save,
[Ctrl]-[N] for a new image, etc.) [Ctrl]-[N] for a new image, etc.)
This is useful to prevent unwanted commands from being activated This is useful to prevent unwanted commands from being
by children who aren't experienced with keyboards. activated by children who aren't experienced with keyboards.
nowheelmouse=yes nowheelmouse=yes
This disables support for the wheel on mice that have it. This disables support for the wheel on mice that have it.
@ -277,22 +287,22 @@ Windows Users
nobuttondistinction=yes nobuttondistinction=yes
Prior to Tux Paint 0.9.15, the middle and right buttons on a Prior to Tux Paint 0.9.15, the middle and right buttons on a
mouse could also be used for clicking. In version 0.9.15, it was mouse could also be used for clicking. In version 0.9.15, it
changed so that only the left mouse button worked, so as to not was changed so that only the left mouse button worked, so as
train children to use the wrong button. to not train children to use the wrong button.
However, for children who have trouble with the mouse, this However, for children who have trouble with the mouse, this
distinction between the two or three buttons on a mouse can be distinction between the two or three buttons on a mouse can be
disabled (returning Tux Paint to its old behavior) by using this disabled (returning Tux Paint to its old behavior) by using
option. this option.
nofancycursors=yes nofancycursors=yes
This disables the fancy mouse pointer shapes in Tux Paint, and This disables the fancy mouse pointer shapes in Tux Paint, and
uses your environment's normal mouse pointer. uses your environment's normal mouse pointer.
In some enviornments, the fancy cursors cause problems. Use this In some enviornments, the fancy cursors cause problems. Use
option to avoid them. this option to avoid them.
hidecursor=yes hidecursor=yes
@ -302,8 +312,9 @@ Windows Users
nooutlines=yes nooutlines=yes
In this mode, much simpler outlines and 'rubber-band' lines are In this mode, much simpler outlines and 'rubber-band' lines
displayed when using the Lines, Shapes, Stamps and Eraser tools. are displayed when using the Lines, Shapes, Stamps and Eraser
tools.
This can help when Tux Paint is run on very slow computers, or This can help when Tux Paint is run on very slow computers, or
displayed on a remote X-Window display. displayed on a remote X-Window display.
@ -317,28 +328,28 @@ Windows Users
nostamps=yes nostamps=yes
This option tells Tux Paint to not load any rubber stamp images, This option tells Tux Paint to not load any rubber stamp
which in turn ends up disabling the Stamps tool. images, which in turn ends up disabling the Stamps tool.
This can speed up Tux Paint when it first loads up, and reduce This can speed up Tux Paint when it first loads up, and reduce
memory usage while it's running. Of course, no stamps will be memory usage while it's running. Of course, no stamps will be
available at all. available at all.
nostampcontrols=yes nostampcontrols=yes
Some images in the Stamps tool can be mirrored, flipped, and/or Some images in the Stamps tool can be mirrored, flipped,
have their size changed. This option disables the controls, and and/or have their size changed. This option disables the
only provides the basic stamps. controls, and only provides the basic stamps.
nomagiccontrols=yes nomagiccontrols=yes
Some Magic tools have the option of acting like a paintbrush, or Some Magic tools have the option of acting like a paintbrush,
affecting the entire canvas at once. This option disables the or affecting the entire canvas at once. This option disables
controls, and only provides the default functionality (usually the controls, and only provides the default functionality
paint-mode). (usually paint-mode).
mirrorstamps=yes mirrorstamps=yes
For stamps that can be mirrored, this option sets them to their For stamps that can be mirrored, this option sets them to
mirrored shape by default. their mirrored shape by default.
This can be useful for people who prefer things right-to-left, This can be useful for people who prefer things right-to-left,
rather than left-to-right. rather than left-to-right.
@ -346,9 +357,9 @@ Windows Users
stampsize=SIZE stampsize=SIZE
Use this option to force Tux Paint to set the starting size of Use this option to force Tux Paint to set the starting size of
all stamps. The SIZE value should be between 0 (smallest) and 10 all stamps. The SIZE value should be between 0 (smallest) and
(largest). The size is relative to the available sizes of the 10 (largest). The size is relative to the available sizes of
stamp, which depends on the stamp itself, and Tux Paint's the stamp, which depends on the stamp itself, and Tux Paint's
current canvas size. current canvas size.
Specifc "default" to let Tux Paint decide (it's standard Specifc "default" to let Tux Paint decide (it's standard
@ -365,8 +376,8 @@ Windows Users
savedir=DIRECTORY savedir=DIRECTORY
Use this option to change where Tux Paint's "saved" Use this option to change where Tux Paint's "saved"
directory/folder is located, which is where Tux Paint saves and directory/folder is located, which is where Tux Paint saves
opens pictures. and opens pictures.
If you do not override it, the default location is: If you do not override it, the default location is:
* Linux & Unix - Under a hidden directory named ".tuxpaint" * Linux & Unix - Under a hidden directory named ".tuxpaint"
@ -388,8 +399,8 @@ Windows Users
Note: Prior to version 0.9.18, Tux Paint would also use the Note: Prior to version 0.9.18, Tux Paint would also use the
setting or default for "savedir" as the place to search for setting or default for "savedir" as the place to search for
personal data files (brushes, stamps, starters and fonts). As of personal data files (brushes, stamps, starters and fonts). As
version 0.9.18, they may be specified separately (see the of version 0.9.18, they may be specified separately (see the
"datadir" option, below). "datadir" option, below).
Example: savedir=Z:\tuxpaint\ Example: savedir=Z:\tuxpaint\
@ -397,8 +408,8 @@ Windows Users
datadir=DIRECTORY datadir=DIRECTORY
Use this option to change where Tux Paint looks for personal Use this option to change where Tux Paint looks for personal
data files (brushes, stamps, starters and fonts specific to the data files (brushes, stamps, starters and fonts specific to
current user). the current user).
Tux Paint will search for subdirectories/subfolders named Tux Paint will search for subdirectories/subfolders named
"brushes", "stamps", "starters" and "fonts" under the data "brushes", "stamps", "starters" and "fonts" under the data
@ -420,8 +431,8 @@ Windows Users
"/Users/Username/Library/Application Support/TuxPaint/brushes/" "/Users/Username/Library/Application Support/TuxPaint/brushes/"
Note: Prior to version 0.9.18, Tux Paint would use the same Note: Prior to version 0.9.18, Tux Paint would use the same
setting or default as for "savedir" to search for data files. As setting or default as for "savedir" to search for data files.
of version 0.9.18, they may be specified separately. As of version 0.9.18, they may be specified separately.
Note: When specifying a Windows drive (e.g., "H:\"), you must Note: When specifying a Windows drive (e.g., "H:\"), you must
also specify a subdirectory. also specify a subdirectory.
@ -435,25 +446,26 @@ Windows Users
saveover=new saveover=new
This also disables the "Save over the old version...?" prompt This also disables the "Save over the old version...?" prompt
when saving an existing file. This option, however, will always when saving an existing file. This option, however, will
save a new file, rather than overwrite the older version. always save a new file, rather than overwrite the older
version.
saveover=ask saveover=ask
(This option is redundant, since this is the default.) (This option is redundant, since this is the default.)
When saving an existing drawing, you will be first asked whether When saving an existing drawing, you will be first asked
to save over the older version or not. whether to save over the older version or not.
nosave=yes nosave=yes
This disables Tux Paint's ability to save files (and therefore This disables Tux Paint's ability to save files (and therefore
disables the on-screen "Save" button). It can be used in disables the on-screen "Save" button). It can be used in
situations where the program is only being used for fun, or in a situations where the program is only being used for fun, or in
test environment. a test environment.
autosave=yes autosave=yes
This prevents Tux Paint from asking whether you want to save the This prevents Tux Paint from asking whether you want to save
current picture when quitting, and assumes you do. the current picture when quitting, and assumes you do.
startblank=yes startblank=yes
This causes Tux Paint to display a blank canvas when it first This causes Tux Paint to display a blank canvas when it first
@ -462,36 +474,36 @@ Windows Users
colorfile=FILENAME colorfile=FILENAME
You may override Tux Paint's default color palette by creating a You may override Tux Paint's default color palette by creating
plain ASCII text file that describes the colors you want, and a plain ASCII text file that describes the colors you want,
pointing to that file using the colorfile option. and pointing to that file using the colorfile option.
The file should list one color per line. Colors are defined in The file should list one color per line. Colors are defined in
terms of their Red, Green and Blue values, each from 0 (off) to terms of their Red, Green and Blue values, each from 0 (off)
255 (brightest). (For more information, try Wikipedia's "RGB to 255 (brightest). (For more information, try Wikipedia's
color model" article.) "RGB color model" article.)
Colors may be listed using three decimal numbers (e.g., Colors may be listed using three decimal numbers (e.g.,
"255 68 136") or a 6- or 3-digit-long hexadecimal 'triplet' "255 68 136") or a 6- or 3-digit-long hexadecimal 'triplet'
(e.g., "#ff4488" or "#F48"). (e.g., "#ff4488" or "#F48").
After the color definition (on the same line) you may enter text After the color definition (on the same line) you may enter
to describe the color. Tux will display this text when the color text to describe the color. Tux will display this text when
is clicked. (For example, "#FFF White as snow.") the color is clicked. (For example, "#FFF White as snow.")
As an example, you can see the default colors currently used in As an example, you can see the default colors currently used
Tux Paint in: "default_colors.txt". in Tux Paint in: "default_colors.txt".
NOTES: You must separate decimal values with spaces, and begin NOTES: You must separate decimal values with spaces, and begin
hexadecimal values with a pound/number-sign character ("#"). In hexadecimal values with a pound/number-sign character ("#").
3-digit hexadecimal, each digit is used for both the high and In 3-digit hexadecimal, each digit is used for both the high
low halves of the byte, so "#FFF" is the same as "#FFFFFF", not and low halves of the byte, so "#FFF" is the same as
"#F0F0F0". "#FFFFFF", not "#F0F0F0".
lang=LANGUAGE lang=LANGUAGE
Run Tux Paint in one of the supported languages. Possible choice Run Tux Paint in one of the supported languages. Possible
for LANGUAGE currently include: choice for LANGUAGE currently include:
+----------------------------------------------------------+ +----------------------------------------------------------+
|english |american-english | | |english |american-english | |
@ -669,8 +681,9 @@ Windows Users
(For Linux and Unix users) (For Linux and Unix users)
If any of the above options are set in "/etc/tuxpaint/tuxpaint.config", If any of the above options are set in
you can override them in your own "~/.tuxpaintrc" file. "/etc/tuxpaint/tuxpaint.config", you can override them in your own
"~/.tuxpaintrc" file.
For true/false options, like "noprint" and "grab", you can simply say For true/false options, like "noprint" and "grab", you can simply say
they equal 'no' in your "~/.tuxpaintrc" file: they equal 'no' in your "~/.tuxpaintrc" file:
@ -688,7 +701,8 @@ Windows Users
Command-Line Options Command-Line Options
Options can also be issued on the command-line when you start Tux Paint. Options can also be issued on the command-line when you start
Tux Paint.
--fullscreen --fullscreen
--WIDTHxHEIGHT --WIDTHxHEIGHT
@ -765,8 +779,8 @@ Windows Users
--saveoverask --saveoverask
--save --save
--noautosave --noautosave
These options can be used to override any settings made in the These options can be used to override any settings made in
configuration file. (If the option isn't set in the the configuration file. (If the option isn't set in the
configuration file(s), no overriding option is necessary.) configuration file(s), no overriding option is necessary.)
------------------------------------- -------------------------------------
@ -784,8 +798,8 @@ Windows Users
--nosysconfig --nosysconfig
Under Linux and Unix, this prevents the system-wide Under Linux and Unix, this prevents the system-wide
configuration file, "/etc/tuxpaint/tuxpaint.conf", from being configuration file, "/etc/tuxpaint/tuxpaint.conf", from
read. being read.
Only your own configuration file, "~/.tuxpaintrc", if it Only your own configuration file, "~/.tuxpaintrc", if it
exists, will be used. exists, will be used.
@ -799,10 +813,10 @@ Command-Line Informational Options
--version --version
--verbose-version --verbose-version
Display the version number and date of the copy of Tux Paint Display the version number and date of the copy of
you are running. The "--verbose-version" also lists what Tux Paint you are running. The "--verbose-version" also
compile-time options were set. (See INSTALL.txt and lists what compile-time options were set. (See INSTALL.txt
FAQ.txt). and FAQ.txt).
--copying --copying
Show brief license information about copying Tux Paint. Show brief license information about copying Tux Paint.
@ -820,197 +834,199 @@ Command-Line Informational Options
Choosing a Different Language Choosing a Different Language
Tux Paint has been translated into a number of languages. To access the Tux Paint has been translated into a number of languages. To access
translations, you can use the "--lang" option on the command-line to set the translations, you can use the "--lang" option on the command-line
the language (e.g. "--lang spanish") or use the "lang=" setting in the to set the language (e.g. "--lang spanish") or use the "lang=" setting
configuration file (e.g., "lang=spanish"). in the configuration file (e.g., "lang=spanish").
Tux Paint also honors your environment's current locale. (You can Tux Paint also honors your environment's current locale. (You can
override it on the command-line using the "--locale" option; see above.) override it on the command-line using the "--locale" option; see
above.)
Use the option "--lang help" to list the available language options Use the option "--lang help" to list the available language options
available. available.
Available Languages Available Languages
+--------------------------------------------------------------------+ +------------------------------------------------------------------+
| Locale | Language | Language |Input Method Cycle| | Locale | Language | Language |Input Method Cycle|
| Code | (native name) | (English name) | Key Combination | | Code | (native name) | (English name) | Key Combination |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|C | |English | | |C | |English | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|af_ZA | |Afrikaans | | |af_ZA | |Afrikaans | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ar_SA | |Arabic | | |ar_SA | |Arabic | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ast_ES | |Asturian | | |ast_ES | |Asturian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|az_AZ | |Azerbaijani | | |az_AZ | |Azerbaijani | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|be_BY |Bielaruskaja |Belarusian | | |be_BY |Bielaruskaja |Belarusian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|bg_BG | |Bulgarian | | |bg_BG | |Bulgarian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|bo_CN (*)| |Tibetan | | |bo_CN (*)| |Tibetan | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|br_FR |Brezhoneg |Breton | | |br_FR |Brezhoneg |Breton | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ca_ES |Catal`a |Catalan | | |ca_ES |Catal`a |Catalan | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|cs_CZ |Cesky |Czech | | |cs_CZ |Cesky |Czech | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|cy_GB |Cymraeg |Welsh | | |cy_GB |Cymraeg |Welsh | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|da_DK |Dansk |Danish | | |da_DK |Dansk |Danish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|de_DE |Deutsch |German | | |de_DE |Deutsch |German | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|et_EE | |Estonian | | |et_EE | |Estonian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|el_GR (*)| |Greek | | |el_GR (*)| |Greek | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|en_AU | |Australian | | |en_AU | |Australian | |
| | |English | | | | |English | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|en_CA | |Canadian English | | |en_CA | |Canadian English | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|en_GB | |British English | | |en_GB | |British English | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|en_ZA | |South African | | |en_ZA | |South African | |
| | |English | | | | |English | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|eo | |Esperanto | | |eo | |Esperanto | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|es_ES |Espanol |Spanish | | |es_ES |Espanol |Spanish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|es_MX |Espanol-Mejicano |Mexican Spanish | | |es_MX |Espanol-Mejicano |Mexican Spanish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|eu_ES |Euskara |Basque | | |eu_ES |Euskara |Basque | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|fi_FI |Suomi |Finnish | | |fi_FI |Suomi |Finnish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|fo_FO | |Faroese | | |fo_FO | |Faroese | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|fr_FR |Franc,ais |French | | |fr_FR |Franc,ais |French | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ga_IE |G`aidhlig |Irish Gaelic | | |ga_IE |G`aidhlig |Irish Gaelic | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|gd_GB |Ghaidhlig |Scottish Gaelic | | |gd_GB |Ghaidhlig |Scottish Gaelic | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|gl_ES |Galego |Galician | | |gl_ES |Galego |Galician | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|gos_NL |Zudelk Veenkelonioals|Gronings | | |gos_NL |Zudelk |Gronings | |
|---------+---------------------+-----------------+------------------| | |Veenkelonioals | | |
|---------+-------------------+-----------------+------------------|
|gu_IN | |Gujarati | | |gu_IN | |Gujarati | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|he_IL (*)| |Hebrew | | |he_IL (*)| |Hebrew | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|hi_IN (*)| |Hindi | | |hi_IN (*)| |Hindi | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|hr_HR |Hrvatski |Croatian | | |hr_HR |Hrvatski |Croatian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|hu_HU |Magyar |Hungarian | | |hu_HU |Magyar |Hungarian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|id_ID |Bahasa Indonesia |Indonesian | | |id_ID |Bahasa Indonesia |Indonesian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|is_IS |Islenska |Icelandic | | |is_IS |Islenska |Icelandic | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|it_IT |Italiano |Italian | | |it_IT |Italiano |Italian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ja_JP (*)| |Japanese |right [Alt] | |ja_JP (*)| |Japanese |right [Alt] |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ka_GE | |Georgian | | |ka_GE | |Georgian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|km_KH | |Khmer | | |km_KH | |Khmer | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ko_KR (*)| |Korean |right [Alt] or | |ko_KR (*)| |Korean |right [Alt] or |
| | | |left [Alt] | | | | |left [Alt] |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ku_TR | |Kurdish | | |ku_TR | |Kurdish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|lt_LT |Lietuviu |Lithuanian | | |lt_LT |Lietuviu |Lithuanian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|lv_LV | |Latvian | | |lv_LV | |Latvian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|mk_MK | |Macedonian | | |mk_MK | |Macedonian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ms_MY | |Malay | | |ms_MY | |Malay | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|nb_NO |Norsk (bokmaal) |Norwegian Bokmaal| | |nb_NO |Norsk (bokmaal) |Norwegian Bokmaal| |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|nl_NL | |Dutch | | |nl_NL | |Dutch | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|nn_NO |Norsk (nynorsk) |Norwegian Nynorsk| | |nn_NO |Norsk (nynorsk) |Norwegian Nynorsk| |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|nr_ZA | |Ndebele | | |nr_ZA | |Ndebele | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|oc_FR | |Occitan | | |oc_FR | |Occitan | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|oj_CA | |Ojibwe |Ojibway | |oj_CA | |Ojibwe |Ojibway |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|pl_PL |Polski |Polish | | |pl_PL |Polski |Polish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|pt_BR |Portuges Brazileiro|Brazilian | | |pt_BR |Portuges Brazileiro|Brazilian | |
| | |Portuguese | | | | |Portuguese | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|pt_PT |Portuges |Portuguese | | |pt_PT |Portuges |Portuguese | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ro_RO | |Romanian | | |ro_RO | |Romanian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ru_RU |Russkiy |Russian | | |ru_RU |Russkiy |Russian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|rw_RW | |Kinyarwanda | | |rw_RW | |Kinyarwanda | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|shs_CA |Secwepemctin |Shuswap | | |shs_CA |Secwepemctin |Shuswap | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|sk_SK | |Slovak | | |sk_SK | |Slovak | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|sl_SI | |Slovenian | | |sl_SI | |Slovenian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|son | |Songhay | | |son | |Songhay | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|sq_AL | |Albanian | | |sq_AL | |Albanian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|sr_YU | |Serbian | | |sr_YU | |Serbian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|sv_SE |Svenska |Swedish | | |sv_SE |Svenska |Swedish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|sw_TZ | |Swahili | | |sw_TZ | |Swahili | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ta_IN (*)| |Tamil | | |ta_IN (*)| |Tamil | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|te_IN (*)| |Telugu | | |te_IN (*)| |Telugu | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|th_TH (*)| |Thai | | |th_TH (*)| |Thai | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|tl_PH (*)| |Tagalog | | |tl_PH (*)| |Tagalog | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|tlh |tlhIngan |Klingon | | |tlh |tlhIngan |Klingon | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|tr_TR | |Turkish | | |tr_TR | |Turkish | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|twi_GH | |Twi | | |twi_GH | |Twi | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|uk_UA | |Ukrainian | | |uk_UA | |Ukrainian | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|ve_ZA | |Venda | | |ve_ZA | |Venda | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|vi_VN | |Vietnamese | | |vi_VN | |Vietnamese | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|wa_BE | |Walloon | | |wa_BE | |Walloon | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|wo_SN | |Wolof | | |wo_SN | |Wolof | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|xh_ZA | |Xhosa | | |xh_ZA | |Xhosa | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|zh_CN (*)| |Chinese | | |zh_CN (*)| |Chinese | |
| | |(Simplified) | | | | |(Simplified) | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|zh_TW (*)| |Chinese | | |zh_TW (*)| |Chinese | |
| | |(Traditional) | | | | |(Traditional) | |
|---------+---------------------+-----------------+------------------| |---------+-------------------+-----------------+------------------|
|zw_MX | |Zapoteco | | |zw_MX | |Zapoteco | |
+--------------------------------------------------------------------+ +------------------------------------------------------------------+
(*) - These languages require their own fonts, since they are not (*) - These languages require their own fonts, since they are not
represented using a Latin character set, like the others. See the represented using a Latin character set, like the others. See the
@ -1018,25 +1034,25 @@ Available Languages
Note: Tux Paint provides an alternative input method for entering Note: Tux Paint provides an alternative input method for entering
characters with the Text tool in some locales. The key comibation(s) characters with the Text tool in some locales. The key comibation(s)
listed can be used to cycle through the supported input methods while listed can be used to cycle through the supported input methods
the Text tool is active. while the Text tool is active.
Setting Your Environment's Locale Setting Your Environment's Locale
Changing your locale will affect much of your environment. Changing your locale will affect much of your environment.
As stated above, along with letting you choose the language at runtime As stated above, along with letting you choose the language at
using command-line options ("--lang" and "--locale"), Tux Paint honors runtime using command-line options ("--lang" and "--locale"),
the global locale setting in your environment. Tux Paint honors the global locale setting in your environment.
If you haven't already set your environment's locale, the following If you haven't already set your environment's locale, the following
will briefly explain how: will briefly explain how:
Linux/Unix Users Linux/Unix Users
First, be sure the locale you want to use is enabled by editing the First, be sure the locale you want to use is enabled by editing
file "/etc/locale.gen" on your system and then running the program the file "/etc/locale.gen" on your system and then running the
"locale-gen" as root. program "locale-gen" as root.
Note: Debian users may be able to simply run the command Note: Debian users may be able to simply run the command
"dpkg-reconfigure locales" as root to bring up a configuration "dpkg-reconfigure locales" as root to bring up a configuration
@ -1066,9 +1082,9 @@ Setting Your Environment's Locale
Windows Users Windows Users
Tux Paint will recognize the current locale and use the appropriate Tux Paint will recognize the current locale and use the
files by default. So this section is only for people trying appropriate files by default. So this section is only for people
different languages. trying different languages.
The simplest thing to do is to use the '--lang' switch in the The simplest thing to do is to use the '--lang' switch in the
shortcut (see "INSTALL.txt"). However, by using an MSDOS Prompt shortcut (see "INSTALL.txt"). However, by using an MSDOS Prompt
@ -1076,7 +1092,8 @@ Setting Your Environment's Locale
set LANG=es_ES set LANG=es_ES
...which will set the language for the lifetime of that DOS window. ...which will set the language for the lifetime of that DOS
window.
For something more permanent, try editing your computer's For something more permanent, try editing your computer's
'autoexec.bat' file using Windows' "sysedit" tool: 'autoexec.bat' file using Windows' "sysedit" tool:
@ -1092,12 +1109,12 @@ Setting Your Environment's Locale
set LANG=es_ES set LANG=es_ES
6. Close the System Configuration Editor, answering yes to save the 6. Close the System Configuration Editor, answering yes to save
changes. the changes.
7. Restart your machine. 7. Restart your machine.
To affect the entire machine, and all applications, it is possible To affect the entire machine, and all applications, it is
to use the "Regional Settings" control panel: possible to use the "Regional Settings" control panel:
1. Click on the 'Start' button, and select 1. Click on the 'Start' button, and select
'Settings | Control Panel'. 'Settings | Control Panel'.
@ -1120,10 +1137,10 @@ Setting Your Environment's Locale
longer be necessary. longer be necessary.
When running Tux Paint in a language that requires its own font, When running Tux Paint in a language that requires its own font,
Tux Paint will try to load the font file from its system-wide "fonts" Tux Paint will try to load the font file from its system-wide
directory (under a "locale" subdirectory). The name of the file "fonts" directory (under a "locale" subdirectory). The name of the
corresponds to the first two letters in the 'locale' code of the file corresponds to the first two letters in the 'locale' code of
language (e.g., "ko" for Korean, "ja" for Japanese, "zh_tw" for the language (e.g., "ko" for Korean, "ja" for Japanese, "zh_tw" for
Traditional Chinese). Traditional Chinese).
For example, under Linux or Unix, when Tux Paint is run in Korean For example, under Linux or Unix, when Tux Paint is run in Korean
@ -1133,8 +1150,8 @@ Setting Your Environment's Locale
/usr/share/tuxpaint/fonts/locale/ko.ttf /usr/share/tuxpaint/fonts/locale/ko.ttf
You can download fonts for supported languages from Tux Paint's You can download fonts for supported languages from Tux Paint's
website, http://www.tuxpaint.org/. (Look in the 'Fonts' section under website, http://www.tuxpaint.org/. (Look in the 'Fonts' section
'Download.') under 'Download.')
Under Unix and Linux, you can use the Makefile that comes with the Under Unix and Linux, you can use the Makefile that comes with the
font to install the font in the appropriate location. font to install the font in the appropriate location.

View file

@ -56,7 +56,7 @@ New Breed Software</p>
(a.k.a. "<code>~/.tuxpaintrc</code>" or (a.k.a. "<code>~/.tuxpaintrc</code>" or
"<code>$HOME/.tuxpaintrc</code>")</p> "<code>$HOME/.tuxpaintrc</code>")</p>
<h3>System-Wide Configuration File (Linux and Unix)</h3> <h3>System-Wide Configuration File</h3>
<blockquote> <blockquote>
<p>Before this file is read, a system-wide configuration file is <p>Before this file is read, a system-wide configuration file is
read. (By default, this configuration has no settings enabled.) read. (By default, this configuration has no settings enabled.)
@ -81,7 +81,19 @@ New Breed Software</p>
<blockquote> <blockquote>
<p>The file you should create is called <p>The file you should create is called
"<code><b>tuxpaint.cfg</b></code>" "<code><b>tuxpaint.cfg</b></code>"
and it should be placed in ... FIXME</p> and it should be placed in your home folder, under the sub-folder:
<code>Library/Application Support/TuxPaint</code>
</p>
<h3>System-Wide Configuration File</h3>
<blockquote>
<p>Before this file is read, a system-wide configuration file is
read. (By default, this configuration has no settings enabled.)
It is located at:</p>
<blockquote>
<code>/Library/Application Support/TuxPaint/tuxpaint.cfg</code>
</blockquote>
</blockquote> </blockquote>
<h2>Windows Users</h2> <h2>Windows Users</h2>