Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.