V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
fyooo
V2EX  ›  问与答

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

  •  
  •   fyooo · 2014-06-05 10:12:43 +08:00 · 3127 次点击
    这是一个创建于 3859 天前的主题,其中的信息可能已经有所发展或是发生改变。
    不知道为啥虚拟机中的mavericks分辨率超级高,没有做到实体机的4个像素点显示一个像素内容。
    4 条回复    2014-06-06 06:40:34 +08:00
    windirt
        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分辨率
    fyooo
        2
    fyooo  
    OP
       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
        3
    fyooo  
    OP
       2014-06-05 14:25:05 +08:00
    @fyooo
    @windirt
    哦,知道了,命令是sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
    lm902
        4
    lm902  
       2014-06-06 06:40:34 +08:00 via Android
    com.apple.windowserver 这个包名好喜感的赶脚
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   933 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:10 · PVG 05:10 · LAX 13:10 · JFK 16:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.