Skip to main content

Issues with Flexi Display 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 operating 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, enter the following command in the terminal: sudo su
    On other distributions: su -

  3. Open the file /etc/default/flexibee
    In a KDE environment, use the command: kate /etc/default/flexibee
    In a GNOME environment, use 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?