#! /bin/bash # Scale up the GUI by 2 times for HiDPI screens sed -i '/\[JavaOptions\]/a -Dsun.java2d.uiScale=2' /opt/maptool/lib/app/MapTool.cfg