Development/Environment variables

From The Document Foundation Wiki
Jump to: navigation, search

This page is aimed to reference and document all LibreOffice specific environment variables.

Commands

In order to retrieve the list of environment variables, use the following command on the core folder (point and dollar sign because there are such vars):

git grep -h -I 'getenv\s*(\s*"[A-Z0-9_]\+' | sed 's/.*"\([A-Za-z0-9_$.]\+\)".*/\1/g' | sort -u

When we get the list of environment variables, we want also to see where they are used. Here is the command that searches for files that use an environment variable:

git grep -I -H '"\s*ENV_VAR_NAME\s*"'

List of environment variables

  • AQUA_NATIVE_MENUS
  • AVOID_BURN_IN_FOR_GALLERY_THEME
  • C$LIBRARY
  • CLASSPATH
  • CPLD_ACCESSPATH
  • DBGSV_ERROR_OUT
  • DBGSV_INIT
  • DBGSV_LOG
  • DBGSV_TRACE_OUT
  • DBGSV_WARNING_OUT
  • DBG_PDFIMPORT_DIR
  • DESKTOP_LAUNCH
  • DISABLE_SAL_DBGBOX
  • DISPLAY
  • EMF_PLUS_DISABLE
  • EMF_PLUS_LIMIT
  • ENABLE_EXPERIMENTAL_ODF_EXPORT
  • FAKEROOTKEY
  • GALLERY_ENABLE_ID_DIALOG
  • GALLERY_SHOW_HIDDEN_THEMES
  • GALLERY_SHOW_PRIVATE_TITLE
  • GNOME_DESKTOP_SESSION_ID
  • G_SLICE
  • HELP_DEBUG
  • HOME
  • HelpEx
  • INCLUDE
  • INPATH
  • INPATH_FOR_BUILD
  • JAVA_HOME
  • KDE_FULL_SESSION
  • KDE_SESSION_VERSION
  • LANG
  • LANGUAGE
  • LC_ALL
  • LC_CTYPE
  • LC_MESSAGES
  • LIBO_APPROVER_DEBUG
  • MOZILLA_CERTIFICATE_FOLDER
  • MOZ_PLUGIN_PATH
  • MSVC_USE_DEBUG_RUNTIME
  • MYSQL_TCP_PORT
  • MYSQL_UNIX_PORT
  • NPX_PLUGIN_PATH
  • OOO_BASICTRACEINI
  • OOO_DISABLE_RECOVERY
  • OOO_ENABLE_LOCALE_DATA_CHECKS
  • OOO_EXIT_POST_STARTUP
  • OOO_FORCE_DESKTOP
  • OOO_INSTALL_PREFIX
  • OS
  • OUTDIR
  • OUTDIR_FOR_BUILD
  • PATH
  • PRODUCTNAME
  • PSPRINT_ENABLE_TTF_COPYRIGHTAWARENESS
  • PYTHONPATH
  • ProgramFiles
  • RESOURCE_NAME
  • RSC_LANG_ISO
  • SAL_ACCESSIBILITY_ENABLED
  • SAL_ALLOW_LINKOO_SYMLINKS
  • SAL_ANTIALIASED_TEXT_PRIORITY
  • SAL_AUTOHINTING_PRIORITY
  • SAL_DEBUG_UPDATES
  • SAL_DECIMALSEP_ENABLED
  • SAL_DIAGNOSE_ABORT
  • SAL_DISABLE_CUPS
  • SAL_DISABLE_DEFAULTPRINTER
  • SAL_DISABLE_FC_SUBST
  • SAL_DISABLE_FLOATGRAB
  • SAL_DISABLE_GRAPHITE
  • SAL_DISABLE_NATIVE_ALPHA
  • SAL_DISABLE_OWN_IM_STATUS
  • SAL_DISABLE_PRINTERLIST
  • SAL_DISABLE_RENDER_POLY
  • SAL_DISABLE_STACKING_CHECK
  • SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION
  • SAL_DISABLE_USERMIGRATION
  • SAL_DO_NOT_USE_INVERT50
  • SAL_EMBEDDED_BITMAP_PRIORITY
  • SAL_ENABLE_FILE_LOCKING
  • SAL_ENABLE_SVM1
  • SAL_EXPANDFPICKER
  • SAL_FLOATWIN_NOAPPFOCUSCLOSE
  • SAL_FORCE_HC
  • SAL_GRAPHITE_CACHE_SIZE
  • SAL_GTK_USE_PIXMAPPAINT
  • SAL_HIGHPRIORITY_REPAINT
  • SAL_IGNOREXERRORS
  • SAL_LOG
  • SAL_LOG_SYSLOG
  • SAL_NO_MOUSEGRABS
  • SAL_NO_NWF
  • SAL_NO_XINITTHREADS
  • SAL_PPDPARSER_LOCALE
  • SAL_RTL_ENABLED
  • SAL_SYNCHRONIZE
  • SAL_TRANSPARENT_FLOATS
  • SAL_USEINPUTMETHOD
  • SAL_USE_VCLPLUGIN
  • SAL_VISUAL
  • SAL_WHEELLINES
  • SAL_XKEYBOARDGROUP
  • SC_FORMULAGROUP
  • SD_SHOW_NUMBERING_PAGE
  • SESSION_MANAGER
  • SHELL
  • SOFFICE_BIN
  • SOLARVER
  • SOLAR_JAVA
  • SOLAR_USER_RTL_TEXTENCODING
  • SQLITE_FORCE_PROXY_LOCKING
  • SRCDIR
  • SRC_ROOT
  • STAROFFICE_USERTYPE
  • STAR_PROFILE_LOCKING_DISABLED
  • STAR_RESOURCE_LOGGING
  • STOC_FORCE_NO_JRE
  • SVG_DISABLE_FONT_EMBEDDING
  • SVG_GLYPH_PLACEMENT
  • SVP_LISTENER_PORT
  • SW_DEBUG
  • SW_DEBUG_RTF_PASTE_FROM
  • SW_DEBUG_RTF_PASTE_TO
  • SYSTEM_BOOST
  • TAGLOGGERTMP
  • TDE_FULL_SESSION
  • TDOC
  • TEMP
  • TMP
  • TMPDIR
  • TRUE
  • TestComponent.uno
  • UNO_ENV_LOG
  • UNO_PATH
  • UPDMINOREXT
  • URE_TEST_SETTHREADNAME
  • VCL_LOGFILE_ENABLED
  • WORKDIR_FOR_BUILD
  • XDG_CONFIG_HOME
  • XMODIFIERS