# Command line tool for changing screen resolution on a Mac

**URL:** <https://psychtoolbox.discourse.group/t/command-line-tool-for-changing-screen-resolution-on-a-mac/1379>\
**Category:** Uncategorized\
**Created:** [December 4, 2011, 2:19am UTC](https://psychtoolbox.discourse.group/t/command-line-tool-for-changing-screen-resolution-on-a-mac/1379 "2011-12-04T02:19:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matadasm](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@matadasm](https://psychtoolbox.discourse.group/u/matadasm)\
**Post date:** [December 4, 2011, 2:19am UTC](https://psychtoolbox.discourse.group/t/command-line-tool-for-changing-screen-resolution-on-a-mac/1379/1 "2011-12-04T02:19:03Z")

</div>

Just saw this tool:  
  
[https://github.com/jhford/screenresolution](https://github.com/jhford/screenresolution)  
  
Seems potentially useful. I believe it only allows you to change to "valid" modes (i.e., those your card/monitor says are OK), so it doesn't do everything that SwitchResX does. Still, it's command line and has support for 10.6 & 10.7, and it seems pretty decent. I thought it might be useful to some people here using PTB on OS X.
