I installed Blender 2.79 on Ubuntu 16.04
I need to add path to my scripts in USER PREFERENCES->FILE->SCRIPTS
With gui it’s simple, but how to do it without?
2 variants
Moved from “General Forums > Blender and CG Discussions” to “Coding > Python Support”
Run ‘blender -h’ and look at the end for the global environment variables that are supported. You should be able to get what you want from that.
Specifically, I’m talking about these environment variables:
Environment Variables:
$BLENDER_USER_CONFIG Directory for user configuration files.
$BLENDER_USER_SCRIPTS Directory for user scripts.
$BLENDER_SYSTEM_SCRIPTS Directory for system wide scripts.
$BLENDER_USER_DATAFILES Directory for user data files (icons, translations, ..).
$BLENDER_SYSTEM_DATAFILES Directory for system wide data files.
$BLENDER_SYSTEM_PYTHON Directory for system python libraries.
$TMP or $TMPDIR Store temporary files here.
$SDL_AUDIODRIVER LibSDL audio driver - alsa, esd, dma.
$PYTHONHOME Path to the python directory, eg. /usr/lib/python.