Last active
May 24, 2019 16:07
-
-
Save rightson/b464668a5bf18159b00284d788a85add to your computer and use it in GitHub Desktop.
The trick to scale Robo3t in HiDPI resolution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export QT_SCALE_FACTOR=2 | |
export QT_AUTO_SCREEN_SCALE_FACTOR=0 | |
cat << EOF > /dev/null | |
Below is an example of *.desktop file (Ubuntu 16.04) | |
[Desktop Entry] | |
Name=Roto3T | |
Exec=env QT_SCALE_FACTOR=2 QT_AUTO_SCREEN_SCALE_FACTOR=0 /opt/robo3t/bin/robo3t | |
Type=Application | |
Terminal=false | |
Comment=Robo3T | |
Icon=/opt/robo3t/bin/robo3t.png | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment