Skip to content

Instantly share code, notes, and snippets.

@rightson
Last active May 24, 2019 16:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rightson/b464668a5bf18159b00284d788a85add to your computer and use it in GitHub Desktop.
Save rightson/b464668a5bf18159b00284d788a85add to your computer and use it in GitHub Desktop.
The trick to scale Robo3t in HiDPI resolution
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