Here I describe some notable Linux distribution errors which can be corrected with the following startup options (1) and CSS changes (2).
1. Startup Problems
There seems to be problems with CentOS 7 in general. If the application does not start correctly, e.g., the Bio7 window will not be shown then add the following arg (e.g., with a text editor) to the Bio7.ini file in the Bio7 base folder (installation folder).
This arg had to be added like this in the*.ini file (see screenshot – don’t place it wrong else an error will occur!):
After saving the file Bio7 should be started on CentOS 7 (see screenshot below)! Please note that you can also adjust the Java memory there.
Another rare error occuring in Fedora is described here!.
However I tested Bio7 on the latest Fedora release and Bio7 started without any problems.
2. Layout Problems
If the layout of your distribution seems to be distorted (e.g., maximize buttons are to small – could be occuring in the default layout of Fedora and CentOS!) this can be corrected in the Bio7 CSS. The file can be found under:
(win7.css was reused for Linux so please don’t wonder)
The following changed css attributes will correct the height of the toolbars (changed attributes in bold):
A new Java menu action (in the Scripts menu) is available to start a Py4J server which can communicate to Java and CPython (if enabled in the native preferences of Bio7 and Py4J is installed in the local Python distribution). With this feature it is, e.g., possible to transfer ImageJ values to CPython or call the Bio7 Java API.
Improved the embedded native pseudo terminal to send signals to a process tree (e.g., SIGINT = STRG+C).
Added an option in the native preferences to interpret a Python script with a a native CPython interpreter >=3.0.
Download Bio7 and simply unzip the Bio7 archive file in your preferred location. Bio7 comes bundled with a JRE so you don’t need to install Java separately. The Bio7 application was tested on Ubuntu 14.04 (minimum requirement).
For the Linux version of Bio7 2.0 R and Rserve have to be installed. For the use in Bio7 Rserve has to be compiled with a special flag to enable the cooperative mode (see below).
In a shell simply execute:
sudo PKG_CPPFLAGS=-DCOOPERATIVE R CMD INSTALL Rserve_1.8-1.tar.gz
The command will compile and install the Rserve package in your default Linux R application. This is necessary to share the R workspace when you switch from a local Rserve connection to the native Bio7 R console (see this video for an explanation of the new connection mode in Bio7).
Please note that the default R package location of Bio7 is: /usr/lib/R/site-library
The location (and the path to R) can be changed in the R preferences of Bio7 (e.g., menu: R->Preferences).
I’m constantly working on the Linux and Mac version of Bio7 2.0 which caused some difficulties because of the OS specific functionalties of Bio7. However I was able to solve many mysteries and could even improve the GUI display (e.g., font size of the view menus) and behaviour of the embedded AWT components (e.g., now the ImageJ dialogs are modal). Here is a MacOSX screenshot of the results:
First I will release the Linux version (hopefully next week and then later the Mac version). I still have to solve some problems (embedding a JRE and JavaFX on MacOSX) but I’m quite confident to solve these problems, soon.