# This is an example .envrc file, to use it create a copy of this file in the same directory and rename it to .envrc. # Also direnv (https://direnv.net) should be installed. Your shell will then load the environment using this file. # When the .envrc file is created or changed a 'direnv allow' command should be executed in this directory to reload and approve the changes. # Required npm-virtual configuration, see https://wiki.barco.com/display/BTDM/Npm how to set this up export NPM_CONFIG_REGISTRY=https://bin.barco.com/artifactory/api/npm/npm-virtual export NPM_CONFIG__AUTH= # your_encoded_authentication_string export NPM_CONFIG_ALWAYS_AUTH=true export NPM_CONFIG_EMAIL= # your.email@barco.com ### Required PURPLE env variables ## Where electron will download the binaries from, you can BASE64 decode the value of NPM_CONFIG__AUTH as the value for user:password export ELECTRON_MIRROR=https://@bin.barco.com/artifactory/www-cache/edu-electron/ ## Needed for window commands, e.g. xrandr export DISPLAY=:0 ### Optional PURPLE env variables, for more possible values see below ## Disable electron hardware accelleration. Useful to test if crashes are GPU / driver related. #export DISABLE_HARDWARE_ACCELERATION=true ## Disables the auto reboot when the version monitor cannot start, useful for debugging #export DISABLE_VERSION_MONITOR_REBOOT=true ## Fake dev mode (for `electron-is-dev` check). This mainly disables some security features like certificate checking #export ELECTRON_IS_DEV=1 ## Path to configuration files. Useful when need to pair the same device in multiple setups #export CONFIG_DIR= ## Will not relaunch the browser window if it is not responsive. #export DISABLE_BROWSER_MONITOR=1 ## Set this one if you run on a dev machine with window manager (pulseaudio dbus connection). #export DEV_WITH_WINDOW_MANAGER=1 ## Places offscreen browser windows onscreen and opens the devtools #export BROWSER_DEBUG=1 ## Number in seconds. If set, will use RTC wake. Otherwise will reboot immediately (10s by default). #export REBOOT_TIMEOUT=10 ## Number in milliseconds. If set, changes default timeout for Kaltura requests (180s by default). #export KALTURA_REQUEST_TIMEOUT=180000 ## If your mirror serves artifacts with different checksums to the official Electron release you may have ## to set electron_use_remote_checksums=1 to force Electron to use the remote SHASUMS256.txt file to verify ## the checksum instead of the embedded checksums. #export electron_use_remote_checksums=1 ## Can be set to create log files for Gstreamer ## A global vlaue can be used but each plugin or part of the GStreamer defines its own category, so you can also ## specify a debug level for each individual category. ## For example, GST_DEBUG=2,audiotestsrc:6, will use Debug Level 6 for the audiotestsrc element, and 2 for all the others. ## More information can be found here: ## https://gstreamer.freedesktop.org/documentation/tutorials/basic/debugging-tools.html?gi-language=c ## A log file per gstreamer process will be generated and outputted to the /tmp directory ## Be careful as the higher debug levels can output a large amount of logs #export GST_DEBUG=3