Skip to main content

HiDPI Shell Variables

 

MaXX Desktop HiDPI Shell Variables

Name

Description

Default

MAXX_SCREEN_SCALE_FACTORS 3  

Define a list of screen id with effective scaling factor separated by ‘:’ (like PATH).

For example, the screen 0 had a scale factor of 1.0 and screen 2 a factor of 2.2. Therefor the MAXX_SCALE value would be:  0/1.0:1/2.2

0/1.0

GDK_SCALE 1 2

Defines GTK+3 UI widgets scale factor.  1 means no widget scaling.

1.0

GDK_DPI_SCALE 1 2

Defines GTK+ 3 text scaling factor. 1 means no text scaling.

1.0

QT_AUTO_SCREEN_SCALE_FACTOR 1 2

Controls QT Auto Scaling based on HiDPI. 0 means disabled.

0

QT_SCALE_FACTOR 1 2

QT_SCALE_FACTOR scales fonts,  1 means no text scaling.

1.0

QT_SCREEN_SCALE_FACTORS 1 2

QT_SCREEN_SCALE_FACTORS does not scale fonts. 1 means no text scaling.

1.0

Notes:

1 /opt/MaXX/etc/system.desktopenv
2 $HOME/.maxxdesktop/desktopenv
3 Not defined yet