SALOME 9.11.0 with HiDPI (4k) Display

Recently, I have upgraded my laptop to 4k screen (15.6") with a new system Debian 12. I can run SALOME with mesa_salome.

I have set up screen resolution with 3840x2160 and 200% amplified.

SALOME looks well with the fonts and windows, but the command icons don’t adapt to the configuration with 200% scaled, which looks very small.

After trial and errors, I have figured out a solution:

export QT_AUTO_SCREEN_SCALE_FACTOR=1
/usr/local/SALOME-9.11.0/mesa_salome

Because SALOME uses QT for GUIs, QT_AUTO_SCREEN_SCALE_FACTOR=1 makes the system scale ineffective and uses QT’s scale.

   Send article as PDF   

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.