Coder Social home page Coder Social logo

timonweb-forks / displayplacer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jakehilborn/displayplacer

0.0 2.0 0.0 20 KB

macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS.

License: MIT License

Makefile 1.23% C 98.77%

displayplacer's Introduction

displayplacer

macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS.

Download latest executable binary

Usage:

Show current screen info and possible resolutions: displayplacer list

Set layout: displayplacer 'id:<screenId> res:<width>x<height>x<hz> scaling:<on/off> origin:(<x>,<y>) degree:<0/90/180/270>'

Set layout using mode: displayplacer 'id:<screenId> mode:<modeNum> origin:(<x>,<y>) degree:<0/90/180/270>'

example: displayplacer 'id:1124216227 res:3840x2160x60 scaling:off origin:(0,0) degree:0' 'id:69731906 res:1440x900 scaling:on origin:(-1440,1260) degree:0' 'id:1007295109 res:1920x1200 scaling:off origin:(960,-2160) degree:0'

Instructions:

  1. Use displayplacer or the system settings to choose your screen resolutions and orientations.
  2. Use System Preferences -> Displays -> Arrangement to arrange the screens to your liking.
  3. Use 'displayplacer list' to get the info about your current layout so you can create profiles for scripting/hotkeys.

Notes:

  1. The 'list' option shows resolutions for the screen's current orientation.
  2. The screen set to origin (0,0) will be set as the primary screen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.