Instructions for Linux
The downloaded installer should start directly after double- clicking it in the Ubuntu 'Files' app. If not, make sure that the installer file has read and executable permissions. On most modern Linux systems, this can be done by right clicking the file, selecting "Properties" (or similar) and then setting the appropriate permissions. Alternatively you can issue the following shell command (“[distro]” must be replaced with the downloaded version, e.g. “u24.04_x86-64”):
> chmod 755 bv_v24.1_linux-[distro]_installer
You can now start the installation by clicking (or double-clicking) on the file or by launching the installer directly from the terminal prompt:
> ./bv_v24.1_linux-[distro]_installer
After launching the installer, follow the instructions of the installation wizard. In case you update from a previous version of BrainVoyager, close any running instance prior to installation. We also strongly recommend to deinstall any older version of BrainVoyager by running the "maintenancetool" or "uninstall" executable, which is located in the previous installation folder. It is recommended to run the installer as a regular user (not as "root" or superuser) since this will install the program in your home directory (default: "/home/[user]/BrainVoyager" ('~/BrainVoyager') as suggested by the installer. For convenient access, user guides, getting started guides, notebooks and extensions (plugins and scripts) will be installed in the “~/Documents/BrainVoyager" sub-directory within your home directory, which is also the location of the "SampleData" and "Projects" folders.
Launching BrainVoyager. The program can be started by double-clicking 'BrainVoyager' inside the installation directory, e.g. from the 'Files' app on the Ubuntu desktop. More conveniently, BrainVoyager can be launched on Ubuntu from the 'Applications' overview, which can be shown by clicking the 'Show Apps' icon in the Dash. After launching BrainVoyager, you may also keep its icon in the Dash for fast access by right- clicking the icon and selecting 'Pin to Dash' in the appearing context menu (this may only work if you use the ' X11' display manager, see below). If you want to have also an icon on the Desktop, copy the installed "BrainVoyager.desktop"' file located in the ''~/.local/share/applications" directory to the '~/Desktop' folder. In case that a (double-) click on the icon does not launch BrainVoyager, you might need once to right-click the icon on the Desktop and select "Allow Launching" (or "Trust program" or similar).
Wayland or X11 windowing system. Recent Ubuntu versions use the "Wayland" windowing system as default instead of the older "X11" (Xorg) display manager. While BrainVoyager works on Wayland, the location of top-level windows (dialogs and panels) can currently not be set programmatically, which leads to inconveniences when trying to customise window positions. At this point we, thus, recommend to use the classical X11 window manager. You can check which window manager you are using by executing the following command in a terminal:
> echo $XDG_SESSION_TYPE
which will respond with ' wayland' or 'x11'. To switch from Wayland to X11 (or vice versa), edit the file '/etc/gdm3/custom.conf' by opening it e.g. in TextEditor or by using the nano editor as superuser:
> sudo nano etc/gdm3/custom.conf
Scroll down in the opened text file until you find this line:
#WaylandEnable=false
Uncomment that line (by removing the hash tag), then save, and exit the file. If you use TextEditor as a regular user it will ask you to authenticate to get elevated rights for saving the system file. After a restart (or after executing 'systemctl restart gdm3' in Terminal), the X11 windowing manager will be used. If you want to go back to Wayland, just comment out the line above and restart.
Licensing
If you do not yet have a license, you can use the free EDU version or ask for a time-limited trial license to evaluate BrainVoyager with your own data. In case you have already a valid software license, you can continue using BrainVoyager as before after installation and enjoy its new features. If you do not have a license, you will see a licensing screen after starting the software. To activate (unlock) a time- limited trial version, you need to send an email to “licensing [at] brainvoyager [dot] com” containing the displayed “Hardware-ID” and additional information for registration (name, institute/lab, mail address). Such an email is prepared automatically by clicking the “Prepare Email” button in the displayed "License Activation" dialog. Usually within a few days you will receive a license key and a license name/ID (e.g. TSKF307BC88-PETER-SUGAR). After entering this information in the licensing dialog, the software will be activated and it is ready to use for 30 days. More details about the licensing and activation process can be found on the page BrainVoyager Software Licensing.
In order to get the full version of BrainVoyager (after evaluating the EDU or trial version), please send an email to “sales [at] brainvoyager [dot] com” to purchase a (subscription) license. If you purchase the full version of BrainVoyager, you will get a key that unlocks all licensed features and the software can be used as long as requested in the purchased license. There is also a floating network license available allowing to use a licensed maximum number of computers concurrently from computers in a local (e.g. lab) network. For details, send an email to licensing [at] brainvoyager [dot] com.
Python Support
Since version 20, BrainVoyager supports an embedded Python interpreter that can be used from BV notebooks and a Python editor. Importantly, BrainVoyager extends the Python interpreter with methods and properties that gain access to BrainVoyager functionality enabling scripting and batch programming. To use Python, version 3.10 (recommended) or 3.12 needs to be available to be compatible with BrainVoyager 24.1 We recommend to install the Miniconda distribution, which has the advantage that one can easily create multiple environments with different Python versions and modules. If you define a Python 3.10 Miniconda3 environment with the name "env_bv_py310", it will be automatically picked up by BrainVoyager as the default Python version. You also need to install PySide6 in an in an existing Python 3.10 / 3.12 environment before Python can be used with BrainVoyager 24. For more details, follow the instructions to install and enable Python.
After installing Python 3.10 (or 3.12) as described, BrainVoyager will enable Python automatically in most cases when used the first time, e.g. when evaluating code in a notebook or in the Python code editor. In case you want to switch to another 3.10 / 3.12 distribution (or environment name), you can use the "Select Python on Disk" item in the "Python" menu to point BrainVoyager to the respective version. It is recommended to run the code cells of the 'Test Python' notebook to check access to a specific Python version and installed modules.
The provided BV Notebook window can be launched from the respective icon in the toolbar or from the "Notebooks" menu. Several example notebooks are available in the "Documents/BrainVoyager/Notebooks" directory; this directory is also the default location when using the "Open" command in the "BV Notebook" window. When clicking the Python icon on the right side of the main toolbar, BrainVoyager presents a (docked or floating) interactive python console and a python development window that can be used to load, edit and save Python files. To learn how to use Python in notebooks and code editors to script processing routines or to add new functionality, consult the Python Developer Guide that is available from the "Python" menu. You will also find several example Python files in the "PythonScripts" and "PythonPlugins" sub-directories of the “Documents/BrainVoyager/Extensions" folder; these folders are displayed also as default in the "Files" panel on the left side of the Python development window.