Difference between revisions of "Environment Variables"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
m (reorder)
Line 27: Line 27:
 
|-
 
|-
 
| SYNFIG_ROOT || Specifies the path to the synfig resources.  It should be the directory which contains share/pixmaps/synfigstudio/ - usually /usr or /usr/local.
 
| SYNFIG_ROOT || Specifies the path to the synfig resources.  It should be the directory which contains share/pixmaps/synfigstudio/ - usually /usr or /usr/local.
|-
 
| SYNFIG_SHOW_TILE_OUTLINES || For debugging, this draws a red outline around each tile when using the tile renderer.
 
 
|-
 
|-
 
| SYNFIG_TRANSIENT_DIALOGS || Some window managers fail to associate synfig's panels with the toolbox.  Setting this can help.
 
| SYNFIG_TRANSIENT_DIALOGS || Some window managers fail to associate synfig's panels with the toolbox.  Setting this can help.
 +
|-
 +
| SYNFIG_SHOW_TILE_OUTLINES || For debugging, this draws a red outline around each tile when using the tile renderer.
 
|}
 
|}
  

Revision as of 21:14, 1 February 2008

Languages Language: 

English


Environment Variables

Several environment variables can be set to affect the behavior of Synfig Studio:

variable description
SYNFIG_DISABLE_AUTOMATIC_DOCUMENT_CREATION If no documents are specified when synfig is run, it will create a new blank document unless this variable is set.
SYNFIG_ENABLE_NEW_CANVAS_EDIT_PROPERTIES When a new document is created, the Canvas Properties Dialog will only be shown if this variable is set.
SYNFIG_DISABLE_OPTIMIZE
SYNFIG_DISABLE_OPTIMIZE_TRANS
SYNFIG_DISABLE_REMOVE_DUPS
These three variables, when set, disable various steps of the animated gif optimization process in the magick++ module. Namely: disable optimization completely, disable optimization of transparent pixels, and disable the removal of adjacent duplicate frames respectively.
SYNFIG_DISABLE_DRAW
SYNFIG_DISABLE_POLYGON
SYNFIG_DISABLE_SKETCH
These can be used to disable the named tools from being shown in the toolbox.
SYNFIG_ENABLE_WIDTH If set, this enables the (mostly broken) width tool in the toolbox.
SYNFIG_TIMETRACK_HEADER_HEIGHT
SYNFIG_TIMETRACK_ROW_HEIGHT
These are used to change the header and row heights in the timetrack panel. This is sometimes needed to make the timetrack panel rows line up with the parameter panel's rows.
SYNFIG_DISABLE_POPUP_WINDOWS When set, this makes the splash screen and "one moment please" popup windows behave like regular windows - ie. they can be minimized, and covered by other windows.
SYNFIG_DISABLE_TILE_RENDER When set, the workarea is always rendered using the scanline renderer, rather than being broken up into small square tiles which are rendered separately.
SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS Allow the right-click context menu to be used in all the various tool states.
SYNFIG_MODULE_LIST Specifies where to load the list of dynamic modules from.
SYNFIG_ROOT Specifies the path to the synfig resources. It should be the directory which contains share/pixmaps/synfigstudio/ - usually /usr or /usr/local.
SYNFIG_TRANSIENT_DIALOGS Some window managers fail to associate synfig's panels with the toolbox. Setting this can help.
SYNFIG_SHOW_TILE_OUTLINES For debugging, this draws a red outline around each tile when using the tile renderer.

In older versions of studio, the polygon, draw, and sketch tools were disabled by default. The following can be used to re-enable
export SYNFIG_ENABLE_POLYGON=1
export SYNFIG_ENABLE_DRAW=1
export SYNFIG_ENABLE_SKETCH=1
export SYNFIG_ENABLE_WIDTH=1

Suggested starting values to try when attempting to line up the timetrack and parameter panels:
export SYNFIG_TIMETRACK_ROW_HEIGHT=21
export SYNFIG_TIMETRACK_HEADER_HEIGHT=25

Beginning with SVN version r1127
Addressing bug 1829182: the popup caret menu has been disabled for several tools. There's no comment in the code saying why. Dooglus has added an environment variable which re-enables the popup menu when set. Export SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS=1 to try it, and report your findings back to the bug report as to whether this should be the default or not.


Languages Language: 

English