xdpyinfo(X display information)用于输出X显示相关的信息,可以使用xdpyinfo | grep resolution来获取显示器的DPI,我的是resolution: 96×96 dots per inch。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.