Skip to content
System Preferences pane to change screen resolution on your macOS guest.
Branch: master
Clone or download
Latest commit 2508111 Apr 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Images Release 1.6.0 Jun 17, 2018
VMware.Debug Release 1.7.1 Apr 12, 2019
VMware.PreferencePane.xcodeproj Update to Xcode 10.2 Apr 12, 2019
VMware.PreferencePane.xcworkspace Xcode new shared files Jun 12, 2018
VMware Release 1.7.1 Apr 12, 2019
.gitignore Using cocoapods Mar 12, 2018
LICENSE Initial commit Feb 13, 2018
Podfile Us STPrivilegedTask via cocoapods instead Sep 4, 2018
Podfile.lock Update pods Apr 12, 2019
README.md Release 1.5.0 Jun 16, 2018

README.md

AppIcon VMware.PreferencePane

GitHub license

This is a System Preferences pane to change screen resolution on your macOS guest.

VMware.prefPane

Introduction

When running macOS as a guest on a WMware host, the way you change screen resolution is using a command line tool that comes with VMware Tools:

/Library/Application Support/VMware Tools/vmware-resolutionSet <width> <height>

I access my virtual macOS via VNC Viewer from different workstations with different screen sizes. This leaves me with the need to change screen size often - and for some reason I always has to google how to do this.

Installing

Please download and unzip VMware.prefPane.zip from the latest release.

Then open it by double clicking it. If you get a message that "VMware.prefPane can't be opened because it is from an unidentified developer", then you can right-click "VMware.prefPane" and select open from the menu.

You can also manually copy the VMware.prefPane to one of these locations:

Current user

~/Library/PreferencePanes

cp -r VMware.prefPane ~/Library/PreferencePanes/

All users

/Library/PreferencePanes

cp -r VMware.prefPane /Library/PreferencePanes/

Building

This project uses cocoapods. Please install cocoapods and from the terminal run this command from the project root folder:

pod install

Open the VMware.PreferencePane.xcworkspace workspace and build the project as normal.

Debugging

Since "System Integration Protection" was introduced in macOS it is no longer possible to debug system shipped applications.

There are few workarounds for this.

One is of cause to disable System Integration Protection. I find that too invasive.

Another is making a copy of the "System Preferences" application and resign it. See stackoverflow for more information on this approach.

I went with the test bed application. So I created "VMware.Debug", which basically loads the VMware.prefPane and displays it. Simply select this target and press "Run".

Selecting the "VMware" target will launch the VMware.prePane initiating a (re)install in "System Preferences" application. You won't be able to debug, but you can test the preference pane live.

Sometimes it can be neccessary to remove the existing instalation from the "System Preferences" application first.

Remove VMware Preference Pane

License

VMware.PreferencesPane is released under the MIT License.

Acknowledgements

VMware is a registered trademark of VMware Inc.

You can’t perform that action at this time.