rMBP 用 VMware Fusion 安装另一个 mavericks 做虚拟机,屏幕分辨率咋处理?

2014-06-05 10:12:43 +08:00
 fyooo
不知道为啥虚拟机中的mavericks分辨率超级高,没有做到实体机的4个像素点显示一个像素内容。
3123 次点击
所在节点    问与答
4 条回复
windirt
2014-06-05 12:13:35 +08:00
虚拟机里面的mavericks开hiDPI功能

sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true


然后去虚拟机mavericks的系统偏好设置-显示器 选择对应可用的hiDPI分辨率
fyooo
2014-06-05 14:17:01 +08:00
@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> ...
fyooo
2014-06-05 14:25:05 +08:00
@fyooo
@windirt
哦,知道了,命令是sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
lm902
2014-06-06 06:40:34 +08:00
com.apple.windowserver 这个包名好喜感的赶脚

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/115884

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX