How to get screen DPI (linux,mac) programatically? How to get screen DPI (linux,mac) programatically? linux linux