chnrdu
1
Hi, everyone,
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:
I appreciate it if anyone can provide a solution.
chnrdu
2
After trial and errors, I have just found 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.
where are you entering this line of code ?
chnrdu
4
it can be typed via terminal and then start salome via termial too, or make an executable bash file with the two lines.