Since Genymotion Desktop 3.8.0, Genymotion support auto-scaling which makes it possible to use it on 4k monitors without further tweaking.
However, the icons may appear blurry and some parts of the interface may be out of screen on some 4k monitor resolutions.
To fix this, auto-scaling can be disabled and customized. The following variables can be set:
QT_AUTO_SCREEN_SCALE_FACTOR=0to disable auto-scaling.QT_SCALE_FACTOR=[value]to customize scaling.
Windows
1. Press Windows + R to open the Windows Run prompt.
2. Type in sysdm.cpl and click OK.
3. Click the “Environment variables” button under the “Advanced” tab.
4. Create either a User Variable or a System Variable.
- User variable: available to only that specific user.
- System variable: available to all users including the system programs.
5. To create a user variable, click “New” under the “User Variables” section.
6. To create a system variable, click “New” under the “System Variables” section.
7. Type "QT_AUTO_SCREEN_SCALE_FACTOR" in the Variable Name field.
8. In the Variable value field, type "0" to disable auto-scaling. Click "OK" to confirm.
9. Create another new variable.
10. Type "QT_SCALE_FACTOR" in the Variable Name field.
11. In the Variable Value field, insert a number to increase (>1) or decrease (<1) the scaling factor. For exemple "0.75" will decrease scaling of text and icons by 0.75.
12. In the main window, click “Apply” and “Ok” buttons.
13. Restart Windows to apply the new environment variable.
Linux/macOS
Genymotion can be started from a terminal with the variables:
$
QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=0.75 ./genymotion
Genymotion can also be started from a terminal after exporting the variable temporarily.
Genymotion can also be started after adding the variables to your .bashrc (Linux) or ~/.bash-profile (macOS) file, to set the variables permanently.
In this example, the value "0.75" is set to decrease scaling of text and icons by 0.75. Any other value can be used to change scaling to your liking (>1 to increase scaling, <1 to decrease it).