1
windirt 2014-06-05 12:13:35 +08:00 1
虚拟机里面的mavericks开hiDPI功能
sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true 然后去虚拟机mavericks的系统偏好设置-显示器 选择对应可用的hiDPI分辨率 |
2
fyooo OP @windirt 好像命令缺了点什么?
$ sudo defaults write /Library/Preferences/com.apple.windowserver.plist WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: Command line interface to a user's defaults. Syntax: 'defaults' [-currentHost | -host <hostname>] followed by one of the following: read shows all defaults read <domain> shows defaults for given domain read <domain> <key> shows defaults for given domain, key read-type <domain> <key> shows the type for the given domain, key write <domain> <domain_rep> writes domain (overwrites existing) write <domain> <key> <value> writes key for domain rename <domain> <old_key> <new_key> renames old_key to new_key delete <domain> deletes domain delete <domain> <key> deletes key in domain import <domain> <path to plist> writes all of the keys in path to domain export <domain> <path to plist> saves domain as a binary plist to path domains lists all domains find <word> lists all entries containing word help print this help <domain> is ( <domain_name> | -app <application_name> | -globalDomain ) or a path to a file omitting the '.plist' extension <value> is one of: <value_rep> -string <string_value> -data <hex_digits> -int[eger] <integer_value> -float <floating-point_value> -bool[ean] (true | false | yes | no) -date <date_rep> -array <value1> <value2> ... -array-add <value1> <value2> ... -dict <key1> <value1> <key2> <value2> ... -dict-add <key1> <value1> ... |
3
fyooo OP |
4
lm902 2014-06-06 06:40:34 +08:00 via Android
com.apple.windowserver 这个包名好喜感的赶脚
|