Skip to content

Configuration Settings

jackiryan edited this page Jan 10, 2019 · 1 revision

Overview

LiveView offers a configuration file which contains many useful preferences that change the application behavior. Although these settings can be changed from within the application, sometimes it is better or faster to modify parameters outside of the application. The LiveView configuration file, lvconfig.ini, is stored in a standard yet system-dependent location on the disk. Please see the list below for standard locations of the config file:

  • Linux: ~/.config/LiveView/lvconfig.ini or /etc/xdg/LiveView/lvconfig.ini
  • MacOS: ~/Library/Preferences/LiveView/lvconfig.ini

Contents of the LiveView Configuration file

The configuration file for LiveView contains several components which can be adjusted for each user on a particular machine.

General section

  • cam_model: This value sets the default camera model to load at startup. (Valid values are SSD, DEBUG, and CAMERA_LINK)
  • dark: Select whether to use dark mode or not. (Valid values are true/1, or false/0)
  • gradient: Color gradient to use for image plots. Values from the QCustomPlot documentation:
    • 0: gpGrayscale, Continuous lightness from black to white
    • 1: gpHot, Continuous lightness from black over fiery colors to white
    • 2: gpCold, Continuous lightness from black over icy colors to white
    • 3: gpNight, Continuous lightness from black over weak blue-ish colors to white
    • 4: gpCandy, Blue over pink to white
    • 5: gpGeography, Colors suitable to represent different elevations on geographical maps
    • 6: gpIon, Half hue spectrum from black over purple to blue and finally green
    • 7: gpThermal, Colors suitable for thermal imaging, ranging from dark blue over purple to orange, yellow and white
    • 8: gpPolar, Colors suitable to emphasize polarity around the center, with blue for negative, black in the middle and red for positive values
    • 9: gpSpectrum, An approximation of the visible light spectrum
    • 10: gpJet, (DEFAULT) Hue variation similar to a spectrum, often used in numerical visualization
    • 11: gpHues, Full hue cycle with highest and lowest color red
  • show_cam_dialog: If true, the Camera Model selection dialog will appear on startup. (Valid values are true/1, or false/0)