Skip to main content

Display Issues with Flexi on Linux

On some Linux distributions, fonts in application fields may render incorrectly

Written by Petr Pech

ABRA Flexi is written in the Java programming language. This language allows the appearance to be customized for different systems. On Linux, there is a look and feel specific to the platform that uses the GTK library. In some cases, the font may be too large and text may not fit within the fields and buttons of the application.

Solution

  1. Open a command line on Linux (terminal/console)

  2. Switch the command line to the system administrator (root user):
    on Ubuntu/Debian by entering the following command in the terminal: sudo su
    on other distributions: su -

  3. Open the file /etc/default/flexibee
    in the KDE environment using the command: kate /etc/default/flexibee
    in the GNOME environment using the command: gedit /etc/default/flexibee

  4. In the file, remove the leading # character from the following lines:
    FLEXIBEE_ARGS="--no-laf"

    FLEXIBEE_JAVA_ARGS="${FLEXIBEE_JAVA_ARGS}-Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel"

  5. Restart the Flexi client


FAQ

Did this answer your question?